我们在将组件spring-cloud-tsf-dependencies 从1.23.0-Finchley-RELEASE版本升级到1.46.11-Hoxton-Higher-RELEASE过程中遇到项目启动不了的问题,具体报错如下:
Failed to bind properties under 'spring.cloud.consul.config' to org.springframework.cloud.consul.config.ConsulConfigProperties
配置文件如下:
spring:
application:
name: gateway-api
http:
encoding:
force: true
enabled: true
cloud:
consul:
config:
host: 127.0.0.1
port: 8500
相似问题