package de.codecentric.boot.admin; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.support.SpringBootServletInitializer; import org.springframework.context.annotation.Configuration; import de.codecentric.boot.admin.config.EnableAdminServer; @Configuration @EnableAutoConfiguration @EnableAdminServer public class SpringBootAdminApplication extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application; } public static void main(String[] args) throws Exception { SpringApplication.run(SpringBootAdminApplication.class, args); } }