-
jenkins contextLoads() 오류리눅스 끄적끄적 2024. 1. 8. 02:05
jenkins contextLoads() FAILED
java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:142
Caused by: org.springframework.beans.factory.BeanCreationException at AutowiredAnnotationBeanPostProcessor.java:488
Caused by: java.lang.IllegalArgumentException at PropertyPlaceholderHelper.java:180TakeItEasyApplicationTests > contextLoads() FAILED java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:142 Caused by: org.springframework.beans.factory.BeanCreationException at AutowiredAnnotationBeanPostProcessor.java:488 Caused by: java.lang.IllegalArgumentException at PropertyPlaceholderHelper.java:180 12 tests completed, 1 failed
젠킨스에 빌드중
contextLoads() 메서드가 실패가 떳다.
현재 프로젝트에선 실패없이 빌드가 잘 됏다.
@SpringBootTest(classes = AtchaApplicationTests.class) class TakeItEasyApplicationTests { @Test void contextLoads() { } }
어노테이션 옆에 classes 속성을 넣어주어서 해결했다
728x90'리눅스 끄적끄적' 카테고리의 다른 글
Nginx 기본config 설정 (0) 2023.08.14 Nginx에 대한 간단한 고찰 (0) 2023.07.24 우분투 22.04LTS에 NEXT-1201AC mini 랜카드 연결 (0) 2023.07.17 there is a problem with parameter #2 of type ConfigurationContainerInternal. (0) 2023.07.04 쉘스크립트 (0) 2023.06.30