본문 바로가기
Developer/Spring & eGovFrame

[egovframework] Failed to execute goal on project sample: Could not resolve dependencies for project egov:sample:war:3.2.0: Failed to collect dependencies for [egovframework.rte:egovframework.rte.ptl.mvc:jar:3.1.0 (compile),

by 순수한소년 2019. 8. 5.
728x90
반응형

3.2버전 개발환경에서
egovFrmae web project 생성 후 maven install 을 실행하면
아래와 같이 오류가 발생합니다.

pom.xml을 수정해야 할것 같은데 정확히 원인을 몰라 질문드립니다.

[ERROR] Failed to execute goal on project sample: Could not resolve dependencies for project egov:sample:war:3.2.0: Failed to collect dependencies for [egovframework.rte:egovframework.rte.ptl.mvc:jar:3.1.0 (compile), egovframework.rte:egovframework.rte.psl.dataaccess:jar:3.1.0 (compile), egovframework.rte:egovframework.rte.fdl.idgnr:jar:3.1.0 (compile), egovframework.rte:egovframework.rte.fdl.property:jar:3.1.0 (compile), javax.servlet:servlet-api:jar:2.5 (provided), javax.servlet:jstl:jar:1.2 (compile), taglibs:standard:jar:1.1.2 (compile), org.antlr:antlr:jar:3.5 (compile), org.hsqldb:hsqldb:jar:2.3.2 (compile)]: Failed to read artifact descriptor for egovframework.rte:egovframework.rte.ptl.mvc:jar:3.1.0: Could not transfer artifact egovframework.rte:egovframework.rte.ptl.mvc:pom:3.1.0 from/to egovframe (http://www.egovframe.go.kr/maven/): Received fatal alert: handshake_failure to https://www.egovframe.go.kr/maven/egovframework/rte/egovframework.rte.ptl.mvc/3.1.0/egovframework.rte.ptl.mvc-3.1.0.pom -> [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/DependencyResolutionException

 

DependencyResolutionException - Apache Maven - Apache Software Foundation

This error generally occurs when Maven could not download dependencies. Possible causes for this error are: The POM misses the declaration of the which hosts the artifact. The repository you have configured requires authentication and Maven failed to provi

cwiki.apache.org

 

안녕하세요.
표준프레임워크센터 입니다.

maven repository에서 라이브러리를 
제대로 내리지 못해 발생한 것으로 보입니다.

pom.xml에서
기존 레포지터리 서버 경로를
다음과 같이 변경해 보시기 바랍니다.
http://www.egovframe.go.kr/maven/
=> 
http://maven.egovframe.kr:8080/maven/

수정한 다음
메이븐 레파지토리를 초기화할 필요도 있는데요.
프로젝트 우클릭 > Maven > Update Project를 선택하시고
Force Update ~~~에 체크후 OK선택하여
저장소를 초기화후에 재기동해 보시기 바랍니다.

감사합니다.

728x90
반응형