简体   繁体   English

我正在尝试安装我克隆的apache-storm存储库。 并且正在收到以下错误。 如何解决呢?

[英]Am trying to maven install the apache-storm repo i cloned. And am getting the following error. How to resolve this?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (validate) on project maven-shade-clojure-transformer: Execution validate of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.8.0 at specified path C:\\Java\\jre1.8.0_201/../lib/tools.jar -> [Help 1] [错误]无法在项目maven-shade-clojure-transformer上执行目标org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check(验证):目标org.apache.maven.plugins的执行验证:maven-checkstyle-plugin:3.0.0:check失败:插件org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0或其依赖项之一无法解析:找不到工件com.sun:在指定路径C:\\ Java \\ jre1.8.0_201 /../ lib / tools.jar中的tools:jar:1.8.0-> [帮助1]

Here is the link to the pom.xml https://github.com/apache/storm/blob/master/pom.xml 这是pom.xml的链接https://github.com/apache/storm/blob/master/pom.xml

You most likely have the JAVA_HOME environment variable set to point to a JRE instead of a JDK. 您很可能已将JAVA_HOME环境变量设置为指向JRE而不是JDK。 Install a JDK instead, and update JAVA_HOME to point to it (eg "C:\\Java\\jdk1.8.0_201" instead of "C:\\Java\\jre1.8.0_201") 而是安装JDK,并更新JAVA_HOME使其指向它(例如,“ C:\\ Java \\ jdk1.8.0_201”而不是“ C:\\ Java \\ jre1.8.0_201”)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在尝试安装我克隆的apache-storm存储库。 并且在到达风暴客户端时遇到以下错误。 如何解决呢? - Am trying to maven install the apache-storm repo i cloned. And am getting the following error on reaching storm-client. How to resolve this? 我正在尝试使用 XML 运行第一个 Spring 程序,但出现以下错误。 我是新手,请指导我 - I am trying to run this first Spring program using XML and I am getting following error. I am novice in this, Please guide me 为什么会出现空指针错误。 - Why am I getting a nullpointer error.? 当我试图解密获得以下错误 - When I am trying to decrypt getting following error 我正在尝试在tomcat 6.0中运行一个jsp项目。 但是我收到以下错误 - I am trying to run a jsp project in tomcat 6.0. But I am getting the following error 我正在尝试将 json 文件推送到 elasticsearch,但是对于 POST 和 PUT 操作出现 405 not allowed 错误,如何解决? - I am trying to push a json file to elasticsearch, but I am getting 405 not allowed error for POST and PUT operation, how to resolve it? 我正在尝试在 Eclipse 中使用 Swing 但我不断收到此错误。 见下文 - I am trying to user Swing in Eclipse but I keep getting this error. See below 在Hibernate中,我在运行时遇到以下错误 - In Hibernate,I am getting following error at runtime 当我试图在 eclipse IDE 2021-03 中安装 maven 时,我收到了这个错误 - When i was trying to install maven in eclipse IDE 2021-03 i am geeting this error 为什么会出现此Maven错误? - Why am I getting this Maven error?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM