본문 바로가기

maven

(3)
No compiler is provided in this environment [출처 : http://millky.com/@origoni/post/869?language=ko_kr] 메이븐 컴파일 오류 : Installed_JREs 수정하기 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project Millky2: Compilation failure[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?[ERROR] -> [Help 1][ERROR] [ERROR] To see the full stack..
메이븐 빌드 - Fatal error compiling: tools.jar not found 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..
maven dependency 오류 - 라이브러리 다운로드가 되지 않을 때 스프링 환경 설정 중, 다음과 같이 pom.xml에 의존성 추가 작업을 하고 있었다. org.mybatis mybatis 3.2.8 org.mybatis mybatis-spring 1.2.2 정상적으로 저장이 되면, 라이브러리가 다운로드 되어야 하는데... 그냥 잠잠 하였다 ㅡㅡㅋ 이 오류는 어떻게 해결해야 할까? 방법을 찾아보니 의외로 간단히 해결되었다. 바로 다음과 같이, maven update를 실행하기만 하면 되는 것이었으니 이 얼마나 간편한가? 프로젝트 마우스오른쪽 클릭 > Update Maven Dependencies 실행 - Force Update of Snapshots/Release 체크 후 확인 클릭