반응형 개발 언어별 에러 정리/Spring boot9 WebSecurityConfigurerAdapter deprecated 이슈 해결 Spring Security 5.70 이후부터 WebSecurityConfigurerAdapter를 상속 받는 방식은 deprecated 되어 WebSecurityConfigurerAdapter 상속을 지우고 SecurityFilterChain를 사용하여야 한다. 공식문서를 참조 하여 코드 작성을 하면 된다. https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter Spring Security without the WebSecurityConfigurerAdapter In Spring Security 5.7.0-M2 we deprecated the WebSecurityConfigurerAdapter, .. 2023. 9. 6. [JWT] 에러 에러 *************************** APPLICATION FAILED TO START *************************** Description: Parameter 0 of constructor in api.jackdang.controller.AuthController required a bean of type 'org.springframework.security.authentication.AuthenticationManager' that could not be found. Action: Consider defining a bean of type 'org.springframework.security.authentication.AuthenticationManager' in .. 2023. 9. 6. [SpringBoot] security 설정 후 Postman 사용시 주의사항 gradle에 implementation 'org.springframework.boot:spring-boot-starter-security' dependency 추가시 Postma 호출시 Authorization 의 Basic Auth에 Username과 Password를 채워주어야 호출이 된다. 2023. 9. 3. [Spring boot] org.springframework.beans.factory.UnsatisfiedDependencyException JPA 에러 사용코드 DTO.java에서 private String interest_nm; 설정 에러 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'interestController' defined in file [C:\Users\user\Desktop\Company\jackdang\BE\jackdang\bin\main\com\jackdang\controller\interests\InterestController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.spr.. 2022. 11. 15. 이전 1 2 3 다음 반응형