Created
June 11, 2016 08:45
-
-
Save Guvenir/c15f9d1388a5ddb4f8948f3b5ed9feae to your computer and use it in GitHub Desktop.
Spring Boot Servlet Initializer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBootApplication | |
public class Application extends SpringBootServletInitializer { | |
@Override | |
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { | |
return application.sources(Application.class); | |
} | |
public static void main(String[] args) throws Exception { | |
SpringApplication.run(Application.class, args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment