2012-07-30 8 views
0

여기에 나와있는 지침에 따라 http://www.mkyong.com/maven/how-to-install-maven-in-windows/ Windows 7 환경에서 Maven을 설정하려고했습니다. 이 원인과 해결 방법을하는 수 있습니다 무엇인지에Windows 7에 Maven을 설치하는 중 오류가 발생했습니다.

Error: Could not find or load main class org.codehaus.plexus.classwords.launcher.Launcher 

모든 아이디어 : 내가 내가 MVN --version 실행하거나 그 문제에 대한 MVN 어떤 명령은 내가 오류가 말을 얻을 때 문제인가? 당신이 doc에 대해 살펴 경우

답변

1

당신이 이것을 읽을 수 있습니다

Why do I get java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher when I try to execute Maven?

This sometimes happens when $M2_HOME is not the same as your $PATH. That is, when 'which mvn' does not match $M2_HOME/bin/mvn.

+1

사용하며 PATH의 값 % M2_HOME % \ 빈 오류 같은 종류를 피하기 위해 ... –

관련 문제