easycompany2 실행 관련 에러 문의
- 작성자 :
- 김*탁
- 작성일 :
- 2014-03-06 11:44:32
- 조회수 :
- 1,825
- 구분 :
- 실행환경
- 진행상태 :
- 완료
Q
easycompany2
java는 톰캣과 프로젝트 둘다 1.6 버젼으로 맞춘 상태에서
메이븐 인스톨시 이런 에러가 뜹니다.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project easyCompany2: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: A required class was missing while executing org.apache.maven.plugins:maven-surefire-plugin:2.10:test: org/apache/maven/surefire/util/NestedCheckedException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-surefire-plugin:2.10
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/E:/Programs/Maver/repository/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.jar
[ERROR] urls[1] = file:/E:/Programs/Maver/repository/org/apache/maven/surefire/surefire-booter/2.10/surefire-booter-2.10.jar
[ERROR] urls[2] = file:/E:/Programs/Maver/repository/org/apache/maven/surefire/surefire-api/2.10/surefire-api-2.10.jar
[ERROR] urls[3] = file:/E:/Programs/Maver/repository/org/apache/maven/surefire/maven-surefire-common/2.10/maven-surefire-common-2.10.jar
[ERROR] urls[4] = file:/E:/Programs/Maver/repository/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.jar
[ERROR] urls[5] = file:/E:/Programs/Maver/repository/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.jar
[ERROR] urls[6] = file:/E:/Programs/Maver/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.apache.maven.surefire.util.NestedCheckedException
[ERROR] -> [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/PluginContainerException
java는 톰캣과 프로젝트 둘다 1.6 버젼으로 맞춘 상태에서
메이븐 인스톨시 이런 에러가 뜹니다.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project easyCompany2: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: A required class was missing while executing org.apache.maven.plugins:maven-surefire-plugin:2.10:test: org/apache/maven/surefire/util/NestedCheckedException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-surefire-plugin:2.10
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/E:/Programs/Maver/repository/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.jar
[ERROR] urls[1] = file:/E:/Programs/Maver/repository/org/apache/maven/surefire/surefire-booter/2.10/surefire-booter-2.10.jar
[ERROR] urls[2] = file:/E:/Programs/Maver/repository/org/apache/maven/surefire/surefire-api/2.10/surefire-api-2.10.jar
[ERROR] urls[3] = file:/E:/Programs/Maver/repository/org/apache/maven/surefire/maven-surefire-common/2.10/maven-surefire-common-2.10.jar
[ERROR] urls[4] = file:/E:/Programs/Maver/repository/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.jar
[ERROR] urls[5] = file:/E:/Programs/Maver/repository/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.jar
[ERROR] urls[6] = file:/E:/Programs/Maver/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.apache.maven.surefire.util.NestedCheckedException
[ERROR] -> [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/PluginContainerException
A
안녕하세요. 김정탁님
pom.xml에서 아래 부분을 주석처리 하시거나 삭제하고 재실행 해보시기 바랍니다.
<repository>
<id>jboss</id>
<url>http://repository.jboss.com/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>atlassian</id>
<url>http://maven.atlassian.com/repository/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>mesir-repo</id>
<url>http://mesir.googlecode.com/svn/trunk/mavenrepo</url>
</repository>
고맙습니다.
pom.xml에서 아래 부분을 주석처리 하시거나 삭제하고 재실행 해보시기 바랍니다.
<repository>
<id>jboss</id>
<url>http://repository.jboss.com/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>atlassian</id>
<url>http://maven.atlassian.com/repository/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>mesir-repo</id>
<url>http://mesir.googlecode.com/svn/trunk/mavenrepo</url>
</repository>
고맙습니다.