Unable to enable startupactuator endpoint on Spring Boot 3.4.5. Both management.endpoints.web.exposure.include=* and management.endpoint.startup.access=read_only fail.

How to reproduce:

  1. Generate a new application at start.spring.io
  2. with Maven/Java/3.4.5/Jar/21
  3. add Spring web and Spring Boot Actuator
  4. Add management.endpoints.web.exposure.include=* to application.properties
  5. Compile and run application.
  6. Observe 404on curl '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.