Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 추상클래스
- Javascript
- 티스토리챌린지
- 인터페이스
- top
- mssql
- oracle
- 차이점
- spring
- 오블완
- java
- 자바
- rsync
- IntelliJ
- git
- docker
- DBMS
- 리눅스
- Linux
- 명령어
- MariaDB
- 호이스팅
- 트랜잭션
- mysql
- group by
- PostgreSQL
- JPA
- analytics4
- MongoDB
- SQL
Archives
- Today
- Total
hanker
spring security - Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration - 본문
SPRING/SPRING-ERROR
spring security - Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration -
hanker 2021. 1. 19. 14:07반응형
spring security 적용 후 실행을 했더니 오류가 발생했다.
Description:
Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository'
Action:
Consider defining a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository'
이 에러는 oauth client를 찾을 수 없다는 에러이다.
해결 방법은 application.properties 파일에 spring.profiles.include=사용자정의 코드를 추가해주면 된다.
ex) application-사용자정의.properties
반응형
'SPRING > SPRING-ERROR' 카테고리의 다른 글
Cannot resolve MVC view ... 404 Error (0) | 2021.04.01 |
---|---|
java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy 에러 (0) | 2021.03.31 |
lombok 설치 오류 ( I can't write to your Eclipse directory - ) (0) | 2021.01.19 |
Spring - com.jcraft.jsch.JSchException: UnknownHostKey: - RSA key fingerprint is - (0) | 2021.01.18 |
Spring - pom.xml 첫 줄 에러 (0) | 2021.01.12 |