728x90
서버가 안돌아감
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'webSecurityConfig': Requested bean is currently in creation: Is there an unresolvable circular reference?
..?
뭐가 참조가 안되고있나봄
여기에 문제있다고 뜸
밑에 잘 있는데 왜저래
빈으로 등록이 잘 안되나
나와 완전 똑같은 문제 직면한 네티즌 발견
알고보니 passwordencoder는 잘 등록 됐는데 그걸 사용하고 있는 configureGlobal메서드에서 안불러짐. 원래는 됐었나봄. 요즘 최신버전의 스프링부트가 지원 안한다함. 암튼 configureGlobal를 다른클래스에 넣던가 더 간편한건 passwordencoder를 static으로 지정하기.
잘됨 굿굿
spring circular reference가 뭔지 찾아봄
https://www.baeldung.com/circular-dependencies-in-spring
그렇구나 ..
728x90
'with my rubber duck > errors' 카테고리의 다른 글
스프링에서 로그찍기 log4j xml 에러, 로그 안찍힘 해결 (0) | 2022.06.17 |
---|---|
Spring Security multipartfile 업로드 안될때 해결 (0) | 2022.06.16 |
intellij 콘솔 한글깨짐 문제해결 여정(부제: 재실행의 중요성) (0) | 2022.05.26 |
intellij spring boot 포트번호 바꾸는 3가지 방법 (0) | 2022.05.26 |
git error Another git process seems to be running in this repository (0) | 2022.05.22 |
댓글