title: Use Spring Boot Actuator without a Spring Boot Application
body: <p>Spring Boot's Actuator library with production information endpoints is really useful for any server application. But the problem is I could not find a way to integrate into a traditional Spring Application (which is not a Spring BOOT application). </p>
  
  <p>There must be some way to use the endpoints of actuator but I could not wire them up. </p>
  
  <p>I have a JavaConfig class like below </p>
  
  <pre><code>@Configuration
  @ComponentScan(basePackages = { "com.company.helper", "org.springframework.boot" })
  @EnableWebMvc
  @Import({ DbConfig.class })
  
  public class AppConfig extends WebMvcConfigurerAdapter {
  
  }
  </code></pre>
  
  <p>But this configuration throws an error during deployment.</p>
  
  <p>Can this wiring be done without the Spring Boot application? </p>