에러 내용 :
Description:
Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' that could not be found.
The following candidates were found but could not be injected:
- Bean method 'clientRegistrationRepository' in 'OAuth2ClientRegistrationRepositoryConfiguration' not loaded because OAuth2 Clients Configured Condition registered clients is not available
Action:
Consider revisiting the entries above or defining a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' in your configuration.
Process finished with exit code 1
-> 코드를 자세히 봐도 잘못된 부분이 없었음
해결:
properties를 새로 만들었는데 이 부분이 알고보니...
잘못 설정되어 있었음...
'Back-End > Issues' 카테고리의 다른 글
소스트리 Git push 오류 (0) | 2022.05.22 |
---|---|
[Spring Error] java.lang.IllegalStateException: Failed to load ApplicationContext (0) | 2022.04.03 |
[intelliJ] jdk1.8과 jdk11함께 사용하기(java) (0) | 2022.03.17 |
[Spring Error] java.lang.illegalstateexception: ambiguous mapping (0) | 2022.03.16 |
인텔리제이 버전 낮추기 (ver 7.1 -> ver 4.10.2) (0) | 2022.03.12 |