나는 eclipse (helios) 내에서 maven을 통해 간단한 봄 안녕 세계 프로젝트를 실행 중입니다. m2eclipse 플러그인을 설치했습니다. 내가 바로maven 목표 목록 m2eclipse를 사용하여 일식
myproject>>>>Run As>>>>Run configurations>>>>and press 'select' in front of 'Goals'
를 클릭하면
는 아무 목표 빈 목록을 보여줍니다. 왜??? 나는 Empty goals list in m2Eclipse (MAVEN)에 주어진 솔루션을 시도했지만 그것은
사실 내가 뭘 원하는 것은 내가
mvn compiler:compile
플러그인을 사용하여 명령 줄에서와 내 프로젝트를 컴파일하는 것입니다
근무하지 않았다.일식에서는 깨끗한 리소스를 사용할 수 있습니다. 리소스 :하지만 내 프로젝트를 컴파일 할 수 없습니다.
편집 : 것은 그것은이 표시되어 오류 :
Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable.
[http://maven.40175.n5.nabble.com/Unable-to-locate-the-Javac-Compiler-Problem-td 133804.html] (http : //maven.40175 .n5.nabble.com/Javac 컴파일러 문제 - td % E2 % 80 % 8C % E2 % 80 % 8B133804.html) –