NutzCN Logo
问答 Maven Install
发布于 2957天前 作者 果粉 1955 次浏览 复制 上一个帖子 下一个帖子
标签:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project bphc_cms: Fatal error compiling: tools.jar not found: D:\Java\jdk1.8\jre1.8.0_101..\lib\tools.jar -> [Help 1] [ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

3 回复

这个路径有点怪, 101后面是两个点

D:\Java\jdk1.8\jre1.8.0_101..\lib\tools.jar

环境变量的JAVA_HOME配置错了?

环境变量没问题
D:\Java\jdk1.8\jdk1.8.0_101

加个斜杠在结尾啊

添加回复
请先登陆
回到顶部