오류발생
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'passwordEncoder': Requested bean is currently in creation: Is there an unresolvable circular reference?
오류원인
- PasswordEncoder 객체가 중복되어 발생
해결방법
- 코드 위에서 선언한 private final PasswordEncoder 부분을 지워준다.
- 코드를 지우면 중복되지 않아 정상적으로 오류없이 실행이 된다.