서울땅콩의 취미생활

원인

Maven Dependency Problem

Missing artifact egovframework.rte error...

해당하는 egov 파일이 없어서 발생하는 문제임.

 

해결

pom.xml에 다음의 Dependency 추가해준다.

 

		<!-- eGovFramework -->
		<dependency>
			<groupId>egovframework.rte</groupId>
			<artifactId>egovframework.rte.ptl.mvc</artifactId>
			<version>${egovframework.rte.version}</version>
			<exclusions>
				<exclusion>
					<artifactId>commons-logging</artifactId>
					<groupId>commons-logging</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>egovframework.rte</groupId>
			<artifactId>egovframework.rte.psl.dataaccess</artifactId>
			<version>${egovframework.rte.version}</version>
		</dependency>
		<dependency>
			<groupId>egovframework.rte</groupId>
			<artifactId>egovframework.rte.fdl.idgnr</artifactId>
			<version>${egovframework.rte.version}</version>
		</dependency>
		<dependency>
			<groupId>egovframework.rte</groupId>
			<artifactId>egovframework.rte.fdl.property</artifactId>
			<version>${egovframework.rte.version}</version>
		</dependency>

 

추가해주었는데 그래도 계속하여 에러가 발생했음.

실제로는 maven파일이 존재하였지만 missing에러가 발생.

 

그렇다면...

 

repository를 추가해줘야 한다.

 

pom.xml에 다음을 추가해준다.

		<!-- 전자정부프레임웍 -->
		<repository>
			<id>mvn2</id>
			<url>http://repo1.maven.org/maven2/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>egovframe2</id>
			<url>http://maven.egovframe.kr:8080/maven/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>

 

 

공유하기

facebook twitter kakaoTalk kakaostory naver band