[이슈] 스프링 빈 순환 참조 (Error Msg: The dependencies of some of the beans in the application context form a cycle)
스프링 빈을 참조하는데 A와 B가 서로 참조하는 경우 스프링 빈 순환 참조 문제가 발생할 수 있다. *************************** APPLICATION FAILED TO START *************************** Description: The dependencies of some of the beans in the application context form a cycle: ┌─────┐ | userServiceImpl defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/mesung/domain/service/impl/userServiceImpl.class] ↑ ↓ | orderServiceImpl (field pri..
기타
2021. 10. 20. 14:48
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- ifPresent
- mustache
- 빌더 패턴
- 팩토리 메소드 패턴
- 점층적 생성 패턴
- 복사 팩토리
- java8
- 자바8
- 정적팩터리메서드
- 김영한
- try catch finally
- 인프런
- junit
- springboot
- effectivejava
- 연관관계
- @Lazy
- 빈 순환 참조
- JPA
- flatMap
- Effective Java
- try with resources
- 스프링부트
- 생성자
- jdk버전
- Spring
- 이펙티브자바
- java
- 이펙티브 자바
- package-private
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함