title: Spring Boot Actuator without Spring Boot
body: <p>I've been working on a Spring/Spring MVC application and I'm looking to add performance metrics. I've come across Spring Boot Actuator and it looks like a great solution. However my application is not a Spring Boot application. My application is running in a traditional container Tomcat 8.</p>
  
  <p>I added the following dependencies</p>
  
  <pre><code>// Spring Actuator
  compile "org.springframework.boot:spring-boot-starter-actuator:1.2.3.RELEASE"
  </code></pre>
  
  <p>I created the following config class.</p>
  
  <pre><code>@EnableConfigurationProperties
  @Configuration
  @EnableAutoConfiguration
  @Profile(value = {"dev", "test"})
  @Import(EndpointAutoConfiguration.class)
  public class SpringActuatorConfig {
  
  }
  </code></pre>
  
  <p>I even went as far as adding <code>@EnableConfigurationProperties</code> on every configuration class as suggested on another post on StackOverflow. However that didn't do anything. The endpoints are still not being created and return 404s.</p>