I have a Spring-boot project that uses the Spring-boot mechanism to provide application statistics and metrics.
The functionality of the actuator is provided by adding the "spring-boot-starter-actuator" to the project.
Security is disabled at this point, so the project does not import Spring-security.
Using Spring-boot 1.5.x, all actuator endpoints (automatically provided, like / info, and my defined specific endpoints) work correctly.
After upgrading to Spring-boot 2.0.0 M1, the endpoints of the actuator are no longer displayed. The endpoint call / info returns the following error:
{"timestamp":1496948526890,"status":404,"error":"Not Found","message":"No
message available","path":"/info"}
Note about Tomcat: I override the tomcat.version property to use version 9.
- When using Spring-boot 1.5.x, tomcat.version = 9.0.0.M9
- When using Spring-boot 2.0.0.M1, tomcat.version = 9.0.0.M21
source
share