Apache Storm:风暴核心构建失败(Apache Storm: storm-core build failure)
当试图构建从Git存储库下载的Apache Storm时,我得到了
storm-core
(或者也许是storm-hive
?)构建错误:[INFO] Reactor Summary: [INFO] [INFO] Storm .............................................. SUCCESS [ 1.366 s] [INFO] multilang-javascript ............................... SUCCESS [ 0.801 s] [INFO] multilang-python ................................... SUCCESS [ 0.138 s] [INFO] multilang-ruby ..................................... SUCCESS [ 0.111 s] [INFO] maven-shade-clojure-transformer .................... SUCCESS [ 1.482 s] [INFO] storm-maven-plugins ................................ SUCCESS [ 1.949 s] [INFO] Storm Core ......................................... SUCCESS [02:08 min] [INFO] storm-rename-hack .................................. SUCCESS [ 1.966 s] [INFO] storm-kafka ........................................ SUCCESS [ 3.924 s] [INFO] storm-hdfs ......................................... SUCCESS [01:23 min] [INFO] storm-hbase ........................................ SUCCESS [ 13.381 s] [INFO] storm-hive ......................................... FAILURE [ 43.185 s] [INFO] storm-jdbc ......................................... SKIPPED [INFO] storm-redis ........................................ SKIPPED [INFO] storm-eventhubs .................................... SKIPPED [INFO] flux ............................................... SKIPPED .... .... .... [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process (default) on project storm-hive: Error resolving project artifact: Failure to transfer org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.3-jhyde from https://clojars.org/repo/ was cached in the local repository, resolution will not be reattempted until the update interval of clojars has elapsed or updates are forced. Original error: Could not transfer artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.3-jhyde from/to clojars (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target for project org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde -> [Help 1] [ERROR] .... .... [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :storm-hive
当使用
-e
选项运行相同的构建时(mvn -e clean install -DskipTests
),我得到以下附加信息:[INFO] Reactor Summary: [INFO] [INFO] Storm .............................................. SUCCESS [ 4.136 s] [INFO] multilang-javascript ............................... SUCCESS [ 1.441 s] [INFO] multilang-python ................................... SUCCESS [ 0.151 s] [INFO] multilang-ruby ..................................... SUCCESS [ 0.150 s] [INFO] maven-shade-clojure-transformer .................... SUCCESS [ 1.915 s] [INFO] storm-maven-plugins ................................ SUCCESS [ 2.727 s] [INFO] Storm Core ......................................... FAILURE [ 9.685 s] [INFO] storm-rename-hack .................................. SKIPPED [INFO] storm-kafka ........................................ SKIPPED [INFO] storm-hdfs ......................................... SKIPPED [INFO] storm-hbase ........................................ SKIPPED [INFO] storm-hive ......................................... SKIPPED [INFO] storm-jdbc ......................................... SKIPPED .... .... .... .... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ .... [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (prepare-agent) on project storm-core: Execution prepare-agent of goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent failed: Plugin org.jacoco:jacoco-maven-plugin:0.7.2.201409121644 or one of its dependencies could not be resolved: Failed to collect dependencies at org.jacoco:jacoco-maven-plugin:jar:0.7.2.201409121644 -> org.apache.maven:maven-project:jar:2.2.1 -> org.apache.maven:maven-settings:jar:2.2.1 -> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 -> junit:junit:jar:4.8.2: Failed to read artifact descriptor for junit:junit:jar:4.8.2: Could not transfer artifact junit:junit:pom:4.8.2 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (prepare-agent) on project storm-core: Execution prepare-agent of goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent failed: Plugin org.jacoco:jacoco-maven-plugin:0.7.2.201409121644 or one of its dependencies could not be resolved: Failed to collect dependencies at org.jacoco:jacoco-maven-plugin:jar:0.7.2.201409121644 -> org.apache.maven:maven-project:jar:2.2.1 -> .... .... .... .... Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) ... 90 more
任何想法如何解决这个问题?
When trying to build Apache Storm downloaded from Git repository I get
storm-core
(or maybestorm-hive
?) build error:[INFO] Reactor Summary: [INFO] [INFO] Storm .............................................. SUCCESS [ 1.366 s] [INFO] multilang-javascript ............................... SUCCESS [ 0.801 s] [INFO] multilang-python ................................... SUCCESS [ 0.138 s] [INFO] multilang-ruby ..................................... SUCCESS [ 0.111 s] [INFO] maven-shade-clojure-transformer .................... SUCCESS [ 1.482 s] [INFO] storm-maven-plugins ................................ SUCCESS [ 1.949 s] [INFO] Storm Core ......................................... SUCCESS [02:08 min] [INFO] storm-rename-hack .................................. SUCCESS [ 1.966 s] [INFO] storm-kafka ........................................ SUCCESS [ 3.924 s] [INFO] storm-hdfs ......................................... SUCCESS [01:23 min] [INFO] storm-hbase ........................................ SUCCESS [ 13.381 s] [INFO] storm-hive ......................................... FAILURE [ 43.185 s] [INFO] storm-jdbc ......................................... SKIPPED [INFO] storm-redis ........................................ SKIPPED [INFO] storm-eventhubs .................................... SKIPPED [INFO] flux ............................................... SKIPPED .... .... .... [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process (default) on project storm-hive: Error resolving project artifact: Failure to transfer org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.3-jhyde from https://clojars.org/repo/ was cached in the local repository, resolution will not be reattempted until the update interval of clojars has elapsed or updates are forced. Original error: Could not transfer artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.3-jhyde from/to clojars (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target for project org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde -> [Help 1] [ERROR] .... .... [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :storm-hive
When running the same build with
-e
option (mvn -e clean install -DskipTests
) I get additional info as follows:[INFO] Reactor Summary: [INFO] [INFO] Storm .............................................. SUCCESS [ 4.136 s] [INFO] multilang-javascript ............................... SUCCESS [ 1.441 s] [INFO] multilang-python ................................... SUCCESS [ 0.151 s] [INFO] multilang-ruby ..................................... SUCCESS [ 0.150 s] [INFO] maven-shade-clojure-transformer .................... SUCCESS [ 1.915 s] [INFO] storm-maven-plugins ................................ SUCCESS [ 2.727 s] [INFO] Storm Core ......................................... FAILURE [ 9.685 s] [INFO] storm-rename-hack .................................. SKIPPED [INFO] storm-kafka ........................................ SKIPPED [INFO] storm-hdfs ......................................... SKIPPED [INFO] storm-hbase ........................................ SKIPPED [INFO] storm-hive ......................................... SKIPPED [INFO] storm-jdbc ......................................... SKIPPED .... .... .... .... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ .... [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (prepare-agent) on project storm-core: Execution prepare-agent of goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent failed: Plugin org.jacoco:jacoco-maven-plugin:0.7.2.201409121644 or one of its dependencies could not be resolved: Failed to collect dependencies at org.jacoco:jacoco-maven-plugin:jar:0.7.2.201409121644 -> org.apache.maven:maven-project:jar:2.2.1 -> org.apache.maven:maven-settings:jar:2.2.1 -> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 -> junit:junit:jar:4.8.2: Failed to read artifact descriptor for junit:junit:jar:4.8.2: Could not transfer artifact junit:junit:pom:4.8.2 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (prepare-agent) on project storm-core: Execution prepare-agent of goal org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent failed: Plugin org.jacoco:jacoco-maven-plugin:0.7.2.201409121644 or one of its dependencies could not be resolved: Failed to collect dependencies at org.jacoco:jacoco-maven-plugin:jar:0.7.2.201409121644 -> org.apache.maven:maven-project:jar:2.2.1 -> .... .... .... .... Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) ... 90 more
Any ideas how to solve this?
原文:https://stackoverflow.com/questions/39144356
最满意答案
如果要删除光标前的字符,则需要使用
Keys.BACKSPACE
而不是Keys.DELETE
。Keys.DELETE
用于删除光标后的字符。You need to use
Keys.BACKSPACE
instead ofKeys.DELETE
if you want to delete a character before the cursor.Keys.DELETE
is used to delete a character after the cursor.
相关问答
更多-
TCP/IP模型是一个________。[2023-05-19]
a -
searchresults_text第一个元素绑定到i但您从不使用它并尝试打印searchresults_text 。 此外,要获取文本内容,您可以使用text属性: for el in searchresults_text: print el.text First elements of searchresults_text are bound to i but you never use it and try to print searchresults_text instead. Moreov ...
-
下列中不属于面向对象的编程语言的是?[2022-05-30]
a -
如何使用Selenium和Python将文本发送到电子邮件字段(How to send text to the Email field using Selenium and Python)[2023-05-25]
您可以尝试使用名称: driver.find_element_by_name("email").send_keys("abhishek.gupta1608@toppr.in") 如果你想介绍webDriverWait: wait = WebDriverWait(driver,10) wait.until(EC.element_to_be_clickable((By.NAME, 'email'))).send_keys("abhishek.gupta1608@toppr.in") 请注意,您必须 ... -
你可以通过两种方法中的任何一种来做到这一点。 我试过了,它的确有效。 e.click() # Positions the cursor at the end of the string e.sendKeys(Keys.BACK_SPACE ) 或者您可以简单地清除文本,然后重新开始: e.clear() e.sendKeys("What you want to send") You can definitely do that by either of the two methods. I have ...
-
如果要删除光标前的字符,则需要使用Keys.BACKSPACE而不是Keys.DELETE 。 Keys.DELETE用于删除光标后的字符。 You need to use Keys.BACKSPACE instead of Keys.DELETE if you want to delete a character before the cursor. Keys.DELETE is used to delete a character after the cursor.
-
试试这个代码: from selenium import webdriver import time driver=webdriver.Firefox() driver.get('https://www.instagram.com/accounts/login/') time.sleep(2) user_name=driver.find_element_by_xpath('//*[@id="react-root"]/section/main/div/article/div/div[1]/div/form ...
-
您要填写的表单位于iframe 。 要使selen在iframe工作,您需要使用switch_to_frame()函数切换到您希望使用的特定帧。 您提到的语法不正确。 尝试下面给出的代码。 driver = webdriver.Firefox() driver.implicitly_wait(10) driver.get(link) driver.switch_to.frame(driver.find_element_by_id("disneyid-iframe")) driver.find_eleme ...
-
如果你得到Element is not currently interactable请检查该元素是否未被禁用且是否可见。 如果你想hack它执行JS来启用它。 我访问了主页id ita_form_location_RouteLanguageTextBox_0存在,在第一次飞行中没有Enter routing code 。 我可以看到说airport city or city name的文本框 此外,如果你有id更喜欢使用find_element_by_id如果不是尝试使用css selector如果你可以而 ...
-
如果你检查input字段的HTML源代码,你会看到它有style="display: none;" 属性,这意味着即使要实现显式/隐式等待也无法与此元素交互...要使其可见,请尝试更改style="display: none;" to style="display: inline;" 如下: day = browser.find_element_by_id('txtDateOfBirth__1_Day') browser.execute_script('arguments[0].style.display= ...