我想将Spring Boot应用程序注册为客户端。
我在bootstrap.yml文件中有这个
spring:
boot:
admin:
client:
url=http://bendiciones.buenas.noches:8080
但是当我启动应用程序时出现此错误:
Failed to bind properties under 'spring.boot.admin.client' to de.codecentric.boot.admin.client.config.ClientProperties:
Property: spring.boot.admin.client
Value: url=http://bendiciones.buenas.noches:8080
Origin: URL [file:src/main/resources/bootstrap.yml]:13:9
Reason: No converter found capable of converting from type [java.lang.String] to type [de.codecentric.boot.admin.client.config.ClientProperties]