에서 내 일식이 미친 문제를 발견했다. 명령 프롬프트에서 "maven clean package"명령으로 Maven 빌드를 실행할 수 있습니다. 그러나 마우스 오른쪽 클릭 -> 실행 -> 메이븐 빌드를 수행하여 이클립스에서 동일한 빌드를 시도 할 때 구성에서 "클린 패키지"로 추가했습니다. 그것은메이븐 건물은 명령 프롬프트에서 작업,하지만 이클립스
The project com.svu.core:cUT:1.0.0-SNAPSHOT (E:\CU-SVN\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find com.zenmonics.core:epom:pom:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 11, column 10 -> [Help 2]
그것은 pom.xml 파일에서 동일한 오류가 저에게 오류를 던지고 있지만, 어떻게 이클립스 IDE에서 명령 프롬프트에서 실행되지만되지 않습니다. 이것 때문에 필자는 빌드 경로에서 Maven 의존성을 얻을 수 없다.
<project xmlns="http://maven.apache.org/POM/4.0.0" x mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- <groupId>com.svu.core</groupId>-->
<artifactId>cUT</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>pom :: cUT</name>
<packaging>pom</packaging>
<parent> <---------- Here it throws error
<groupId>com.svu.core</groupId>
<artifactId>epom</artifactId>
<version>1.0.0</version>
</parent>
일식이 JRE 또는 JDK를 가리 킵니까? 여기를 참조하십시오 http://stackoverflow.com/questions/21099072/eclipse-maven-error-no-compiler-is-provided-in-this-environment/21099229#21099229를 –
그것은 스크린 샷 업데이트 JDK 1.7를 가리키고 있습니다. – Syed
프로젝트의 폴더 구조를 알려주시겠습니까? –