본문 바로가기
IT/Spring Cloud

Error creating bean with name 'configurationPropertiesBeans' defined in org.springframework.cloud.autoconfigure....

by 최고영회 2023. 5. 22.
728x90
반응형
SMALL

 

 

Spring cloud 를 적용해서 boot 를 start 할 때 start failed 되는 경우가 있다. 

이럴 땐 Spring boot 버전과 cloud 버전이 호환되지 않는 경우이다. 

 

아래에서 spring boot version 과 호환되는 cloud version 을 확인할 수 있다. 

 

https://spring.io/projects/spring-cloud

 

Spring Cloud

Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks

spring.io

 

나의 경우 spring boot 버전을 3.1.0 으로 설정 했었는데 이에 대한 spring cloud 지원 버전이 없어서 

boot 버전을 3.0.x 로 변경하고 cloud 버전을 2022.0.2 로 맞추니 정상 start 되었다. 

728x90
반응형
LIST