Jenkins에서 빌드 시 오류
- 작성자 :
- 황*창
- 작성일 :
- 2024-04-18 18:22:36
- 조회수 :
- 952
- 구분 :
- 개발환경 / 4.1
- 진행상태 :
- 완료
Q
안녕하세요.
Jenkins 빌드 중 다음과 같은 에러가 발생합니다.
최대한 가이드대로 설정하고 진행했습니다.
도움 부탁드립니다.
[ERROR] Failed to execute goal on project template-enterprise: Could not resolve dependencies for project egov:template-enterprise:war:1.0.0: Failed to collect dependencies at org.egovframe.rte:org.egovframe.rte.fdl.security:jar:4.1.0: Failed to read artifact descriptor for org.egovframe.rte:org.egovframe.rte.fdl.security:jar:4.1.0: The following artifacts could not be resolved: org.egovframe.rte:org.egovframe.rte.fdl.security:pom:4.1.0 (absent): Could not transfer artifact org.egovframe.rte:org.egovframe.rte.fdl.security:pom:4.1.0 from/to egovframe (https://maven.egovframe.go.kr/maven/): 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
Jenkins 빌드 중 다음과 같은 에러가 발생합니다.
최대한 가이드대로 설정하고 진행했습니다.
도움 부탁드립니다.
[ERROR] Failed to execute goal on project template-enterprise: Could not resolve dependencies for project egov:template-enterprise:war:1.0.0: Failed to collect dependencies at org.egovframe.rte:org.egovframe.rte.fdl.security:jar:4.1.0: Failed to read artifact descriptor for org.egovframe.rte:org.egovframe.rte.fdl.security:jar:4.1.0: The following artifacts could not be resolved: org.egovframe.rte:org.egovframe.rte.fdl.security:pom:4.1.0 (absent): Could not transfer artifact org.egovframe.rte:org.egovframe.rte.fdl.security:pom:4.1.0 from/to egovframe (https://maven.egovframe.go.kr/maven/): 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 정보 : MS Windows 11
- 표준프레임워크 버전 : 로컬개발환경 4.1.0, 서버개발환경 4.2.0
- JDK(JRE) 정보 : jdk-17.0.10+7
- WAS 정보 : Tomcat 9.0.85
- DB 정보 : MS SQL Server
- 기타 환경 정보 : Jenkins 2.440.2
A
안녕하세요.
표준프레임워크센터입니다.
센터에서 확인 결과,
이상 없이 라이브러리 다운로드 및 빌드되는 것을 확인하였습니다.
메이븐 로컬 레파지토리 경로에서
오류가 발생한 라이브러리 디렉토리를 백업하시고
해당 라이브러리를 삭제 후 다시 시도해 보시기 바랍니다.
경로는 settings.xml 파일에 명시되어있습니다.
settings.xml은 가이드를 따라 하셨다면,
Jenkins에서 apache-maven이 지정되어 있을것입니다.
다음 디렉토리를 확인하시면
C:\eGovCI-4.2.0_64bit\bin\apache-maven-3.9.6\conf
settings.xml을 확인하실 수 있습니다.
감사합니다.
표준프레임워크센터입니다.
센터에서 확인 결과,
이상 없이 라이브러리 다운로드 및 빌드되는 것을 확인하였습니다.
메이븐 로컬 레파지토리 경로에서
오류가 발생한 라이브러리 디렉토리를 백업하시고
해당 라이브러리를 삭제 후 다시 시도해 보시기 바랍니다.
경로는 settings.xml 파일에 명시되어있습니다.
settings.xml은 가이드를 따라 하셨다면,
Jenkins에서 apache-maven이 지정되어 있을것입니다.
다음 디렉토리를 확인하시면
C:\eGovCI-4.2.0_64bit\bin\apache-maven-3.9.6\conf
settings.xml을 확인하실 수 있습니다.
감사합니다.