运行客户端服务时出现错误。
018-09-29 16:10:49.072 ERROR 14815 --- [gistrationTask1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task.
java.lang.IllegalStateException: Either health or status endpoint must be enabled!
有我的客户端application.properties
server.port = 8090
spring.boot.admin.client.url=http://localhost:8010
spring.application.name=xxx
management.endpoints.web.exposure.include="*"
management.endpoint.health.show-details=always
spring.boot.admin.client.username=admin
spring.boot.admin.client.password=admin
和我的服务器application.properties
server.port = 8010
spring.security.user.name=admin
spring.security.user.password=admin
我只是遵循Reference Guide而无济于事