본문 바로가기
Programming/Maven

메이븐 빌드 - Fatal error compiling: tools.jar not found

by 막이 2014. 11. 20.

Goals 에서 clean package -Plocal 했는데,

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


에러가 난다.


tools.jar을 추가하자.





'Programming > Maven' 카테고리의 다른 글

pom.xml  (0) 2014.06.26
Maven이란  (0) 2013.03.20
Maven에 ojdbc14 디펜던시 넣기  (0) 2012.05.15