问题描述: 说来奇怪,搞出这个错误是在springboot的actuator配置web方式的端点暴露的时候出的。
我的错误原因: 在properties内配的management.endpoints.web.exposure.include='*'
正确的解决: 在yml内配置
management:
endpoints:
web:
exposure:
include: '*'
完事就好了,是不是很奇怪,如果有看到该文章的同学了解原因,可以给我说下,解解惑