I got loads of pages explaining the springboot actuator configuration in older versions but none of which seems to work with springboot2.7.9 and Jersey setup. PLease find below actuator endpoints setup for application on jersey rest and spring boot 2.7.9. Java Version: 11 Springboot version: 2.7.9 Jersey version: 2.35 Actuator:2.7.9
Dependency in POM.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
application.properties
management.endpoints.web.exposure.include="*"
spring.jersey.type=filter
Spring-Boot Jersey: allow Jersey to serve static content will explain which we need spring.jersey.type=filter properties
property(ServletProperties.FILTER_FORWARD_ON_404, true); must also be set up in your Jersey configuration class which extends ResourceConfig