728x90
스프링 클라우드 게이트웨이랑 키클락 연동 하고 있는데 런타임 오류가
org/springframework/cloud/security/oauth2/gateway/TokenRelayAutoConfiguration.class], could not be registered
이런식으로 난다 pom 파일에
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-oauth2-client -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-security -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-security</artifactId>
<version>2.2.5.RELEASE</version>
</dependency>
이거 2개 넣었는데 검색해보니 아래에 spring-cloud-starter-security 이거 지우라고 해서 지우니 잘된다..
728x90
'spring' 카테고리의 다른 글
spring cloud config 서버 서브 디렉토리 확인 (0) | 2021.11.04 |
---|---|
RestTemplate 파라미터 MultiValueMap (0) | 2020.07.18 |
스프링 4.2 부터 AbstractExcelView를 deprecate 됨 (0) | 2018.05.15 |
spring maven mybatis 와 스프링 버전 확인 (0) | 2018.03.20 |
aop 프록시 생성시 jvm 메모리 증대 (0) | 2017.03.29 |