title: Spring Boot Jersey and Monitoring URL's
body: <p>We have a simple Spring Boot application with Jersey.</p>
  
  <p>Spring Boot provides default monitoring end points</p>
  
  <p><a href="http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#production-ready-monitoring" rel="nofollow">http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#production-ready-monitoring</a></p>
  
  <p>Example:</p>
  
  <pre><code>@Component
  public class JerseyConfig extends ResourceConfig {
  
      public JerseyConfig() {
          // registering resources from rest package
          packages("com.xyx.abc.rest");
  
      }
  
  }
  </code></pre>
  
  <p>The REST end points that are provided by Spring Boot are not available in the context of a Spring Boot Jersey Application.</p>
  
  <p>The Spring Boot dependency includes Jersey, starter-actuator, starter-tomcat.</p>
  
  <p>Our REST resources show up fine, but the ones provided by Spring Boot for monitoring dont show up.</p>
  
  <p>E.g <a href="http://abc.xyx.com:8080/health" rel="nofollow">http://abc.xyx.com:8080/health</a> returns a 404</p>