본문 바로가기

전체 글103

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? 오류발생 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 부분을 지워준다. 코드를 지우면 중복되지 않아 정상적으로 오류없이 실행이 된다. 2023. 2. 26.
Consider defining a bean of type 'org.springframework.security.crypto.password.PasswordEncoder' in your configuration. 오류원인 PasswordEncoder 암호화하기 위해 @Bean 설정을 안하여 오류발생 해결방법 @Bean public PasswordEncoder passwordEncoder(){ return new BCryptPasswordEncoder(); } 2023. 2. 26.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1 오류발생 > Process 'command '/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1 해결방법 Build and run using: Gradle > InteliJ IDEA 바꿔준다. Run tests using: Gradle > InteliJ IDEA 바꿔준다. 2023. 2. 26.
Caused by: org.h2.mvstore.MVStoreException: The write format 1 is smaller than the supported format 2 [2.1.214/5] 해결방법 H2 데이터베이스 버전을 1.4.200 추가하면 오류 없이 정상적으로 실행 2023. 2. 26.