https://github.com/spring-projects/spring-boot/blob/f9780511273edc811e26414bd7f8d4954f90a6bc/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/jersey/JerseyHealthEndpointAdditionalPathResourceFactory.java#L50-L64

When using Spring Boot with both Jersey and Actuator, the health endpoint only allows one health group to have an additional-path configured. All other additional paths are ignored except for the first that appears in the configuration file.

management.endpoint.health.group.liveness.additional-path=server:/health1
management.endpoint.health.group.readiness.additional-path=server:/ready1

Only /health1 will be available as a JAX-RS Resource. The available health endpoints will be: * /actuator/health/liveness * /actuator/health/readiness * /health1

Comment From: kent-rosenkoetter-at-nordstrom

I suspect the fix will be to override the JerseyEndpointResourceFactory.createEndpointResources method instead of only overriding createResource.

It would be much easier to write the fix if this code were written using a normal loop instead of the streams API:

https://github.com/spring-projects/spring-boot/blob/f9780511273edc811e26414bd7f8d4954f90a6bc/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/jersey/JerseyEndpointResourceFactory.java#L87-L90

Then it would be trivial to add more than one Resource per endpoint.