메이븐 install 할때 오류가 납니다.
- 작성자 :
- 유*원
- 작성일 :
- 2024-05-03 14:07:21
- 조회수 :
- 578
- 구분 :
- 개발환경 / 3.1
- 진행상태 :
- 완료
Q
pom.xml에 http -> https로 수정은 다해 놨습니다. 감사합니다.
[ERROR] Failed to execute goal on project eHR: Could not resolve dependencies for project egovframework.template.web:eHR:war:3.2.0: Failed to collect dependencies at egovframework.rte:egovframework.rte.ptl.mvc:jar:3.7.0 -> org.springmodules:spring-modules-validation:jar:0.9: Failed to read artifact descriptor for org.springmodules:spring-modules-validation:jar:0.9: Could not transfer artifact org.springmodules:spring-modules-validation:pom:0.9 from/to egovframe (https://maven.egovframe.go.kr/maven/): Transfer failed for https://maven.egovframe.go.kr/maven/org/springmodules/spring-modules-validation/0.9/spring-modules-validation-0.9.pom: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [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
[ERROR] Failed to execute goal on project eHR: Could not resolve dependencies for project egovframework.template.web:eHR:war:3.2.0: Failed to collect dependencies at egovframework.rte:egovframework.rte.ptl.mvc:jar:3.7.0 -> org.springmodules:spring-modules-validation:jar:0.9: Failed to read artifact descriptor for org.springmodules:spring-modules-validation:jar:0.9: Could not transfer artifact org.springmodules:spring-modules-validation:pom:0.9 from/to egovframe (https://maven.egovframe.go.kr/maven/): Transfer failed for https://maven.egovframe.go.kr/maven/org/springmodules/spring-modules-validation/0.9/spring-modules-validation-0.9.pom: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [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
환경정보
-
- OS 정보 : window
- 표준프레임워크 버전 : 3.2
- JDK(JRE) 정보 : 1.8
- WAS 정보 :
- DB 정보 :
- 기타 환경 정보 :
A
안녕하세요.
표준프레임워크센터입니다.
센터에서 동일한 상황 (egoframe 3.2 / open jdk 1.8 (jdk8u242-b08))에서
테스트하였고 정상적으로 받아지는 것을 확인하였습니다.
프로젝트 우클릭 > Maven > Update Project를 선택하시고
Force Update ~~~에 체크후 OK선택하여
저장소를 초기화해 보시기 바랍니다.
다른 방법으로
다음 경로 하위를 우선 백업하시고
삭제하신다음 개발환경을 재기동해 보시기 바랍니다.
C:\Users\로그인계정\.m2\repository
사용하시는 네트워크마에서 방화벽 설정도 확인하실 필요가 있어 보입니다.
추가로, 가능하다면 가급적 개발환경 최신버전 사용을 권장드립니다.
최신 개발환경에서도 컴파일 JDK를 지정하여 예전 웹 프로젝트 운영이 가능합니다.
감사합니다.
표준프레임워크센터입니다.
센터에서 동일한 상황 (egoframe 3.2 / open jdk 1.8 (jdk8u242-b08))에서
테스트하였고 정상적으로 받아지는 것을 확인하였습니다.
프로젝트 우클릭 > Maven > Update Project를 선택하시고
Force Update ~~~에 체크후 OK선택하여
저장소를 초기화해 보시기 바랍니다.
다른 방법으로
다음 경로 하위를 우선 백업하시고
삭제하신다음 개발환경을 재기동해 보시기 바랍니다.
C:\Users\로그인계정\.m2\repository
사용하시는 네트워크마에서 방화벽 설정도 확인하실 필요가 있어 보입니다.
추가로, 가능하다면 가급적 개발환경 최신버전 사용을 권장드립니다.
최신 개발환경에서도 컴파일 JDK를 지정하여 예전 웹 프로젝트 운영이 가능합니다.
감사합니다.