首页 新闻 会员 周边 捐助

命令行运行mvn clean install -Dmaven.test.skip=true报错

0
[已关闭问题] 关闭于 2016-10-24 19:31

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project travelnet-core: Fatal error compiling: tools.jar not found: E:\Program Files\Java\jdk1.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

E:\Program Files\Java\jdk1.8.0_101..\lib\tools.jar 这个位置的jar包是有的,环境变量配置classpath也配置了,求解!!!!急!

WK_J的主页 WK_J | 初学一级 | 园豆:186
提问于:2016-09-20 11:56
< >
分享
所有回答(1)
0

加入-X参数看看更详细的信息,可能不一定是这个JAR的问题

2012 | 园豆:21645 (高人七级) | 2016-09-21 08:43
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册