@SpringBootApplication public class AesApplication extends SpringBootServletInitializer { public static void main(String[] args) { SpringApplication.run(AesApplication.class, args); } @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { return builder.sources(AesApplication.class); } }
maven clean package