2 qq 34904510 qq_34904510 于 2016.09.20 10:10 提问

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

[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也配置了,求解!!!!急!

1个回答

zqbnqsdsmd
zqbnqsdsmd   2016.09.28 01:12
Csdn user default icon
上传中...
上传图片
插入图片