Unable to enable startup
actuator endpoint on Spring Boot 3.4.5.
Both management.endpoints.web.exposure.include=*
and management.endpoint.startup.access=read_only
fail.
How to reproduce:
- Generate a new application at start.spring.io
- with Maven/Java/3.4.5/Jar/21
- add Spring web and Spring Boot Actuator
- Add
management.endpoints.web.exposure.include=*
toapplication.properties
- Compile and run application.
- Observe
404
oncurl 'http://localhost:8080/actuator/startup' -i -X GET
:
HTTP/1.1 404
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Transfer-Encoding: chunked
Date: Wed, 21 May 2025 14:16:34 GMT
{"timestamp":"2025-05-21T14:16:34.430+00:00","status":404,"error":"Not Found","path":"/actuator/startup"}
Comment From: wilkinsona
The startup endpoint requires the use of BufferingApplicationStartup
. Judging by your reproduction steps, you are not using it. If you start your application with --debug
you should see a pointer about this in the resulting condition evaluation report for StartupEndpointAutoConfiguration
.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.