Hi , I upgrade springboot2.0 to springboot3.0. I find a issue, in springboot2.0 , http://localhost:8080/contextpath/actuator is ok, but in springboot3.0 return 404. When add dispatcherservletpath in url is ok ,for example , http://localhost:8080/contextpath/Dispatcherservletpath/actuator is ok. I',m confused why url should add Dispatcherservletpath in springboot3.0
Comment From: wilkinsona
As requested earlier, please provide a minimal sample that reproduces the behavior you are describing.
Comment From: EddyZhang7
Because of security, i can't provide sample , in application.yml
server:
port: port
servlet:
context-path: /contextpatch
management:
endpoints:
enabled-by-default: false
shutdown:
enabled: false
web:
base-path: /actuator
exposure:
include: info, prometheus
In Springboot 2 contextpatch/actuator-base-path is ok In Springboot 3 contextpatch/dispatcherservlet/actuator-base-path is ok
Comment From: wilkinsona
It doesn't need to be your actual application. In fact, we'd prefer that it isn't. We just need the bare minimum of code and configuration that's required to reproduce the problem. Creating a new app on start.spring.io is often a good place to start.
Comment From: EddyZhang7
Thanks , Maybe actuator endpoints moved in Spring Boot 3.* , but i not find changelog
Comment From: wilkinsona
No, they haven't moved. If you want us to spend any more time on this, please spend some time providing the requested sample application.
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: EddyZhang7
Thanks