른록노트

[Eclipse] Maven build 에러 plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 본문

Web/[IDE]

[Eclipse] Maven build 에러 plugins:maven-compiler-plugin:2.5.1:compile (default-compile)

른록 2018. 9. 15. 15:48

====================== Error Message ======================


[INFO] ------------------------------------------------------------------------


[INFO] BUILD FAILURE


[INFO] ------------------------------------------------------------------------


[INFO] Total time: 1.320 s


[INFO] Finished at: 2016-09-15T23:01:07+09:00


[INFO] Final Memory: 8M/153M


[INFO] ------------------------------------------------------------------------


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


======================================================


@ 해결방법

Java Build Path -> JRE 수정 -> tools.jar 추가



참고사이트

http://pnot.tistory.com/6

반응형
Comments