Cause of the problem:
1) windows--->preferences--->java--->compiler----->compiler compliance level is selected 1.7
2)windows--->preferences--->java---> Installed JREs---->installed JREs adds jre6.
Solution:
Step 1: Change the compiler compliance level in 1) to 1.6.
Step 2: Change the jre6 directory in 2) to the jdk directory or in Click jre6--->edit----->add external jars, add lib/tool.jar
reference:
http://www.cnblogs.com/xushunhang/archive/2013/03/28/2986645.html
When maven install, the prompt cannot find ..\lib\tools.jar
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326843624&siteId=291194637
Ranking