Q:
I tried POSTing to localhost:8080/refresh but getting a 404 Error response.
A:
It worked for me after adding the property "management.endpoints.web.exposure.include=*" in bootstrap.properties and changing the url to /actuator/refresh for spring version above 2.0.0 For spring version 1.0.5 url is /refresh
网友评论