본문 바로가기
Error

BeanCurrentlyInCreationException 에러

by YoonJong 2022. 8. 29.
728x90

에러내용

 

에러원인

 

에러조치

 - application.yml 파일에 아래 코드 추가

 - application.properties 이라면,  아래 코드 추가

spring.main.allow-circular-references=true

 

참고

https://stackoverflow.com/questions/70130209/beancurrentlyincreationexception-after-upgrading-boot-to-2-6

 

BeanCurrentlyInCreationException after upgrading Boot to 2.6

After upgrading my project to Spring Boot 2.6.0, I'm getting the following exception during startup: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name '

stackoverflow.com

 

728x90

댓글