Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre-8u111\..\lib\tools.jar
在eclipse中执行maven项目时,会报如下异常:Failedtoexecutegoalorg.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile(default-compile)onprojectHi:Fatalerrorcompiling:tools.jarnotfound:C:\ProgramFiles\Java\jre-8u