Skip to content

Instantly share code, notes, and snippets.

@chathurangat
Created November 10, 2017 10:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chathurangat/e730eb086131486ab18a688384a0adf4 to your computer and use it in GitHub Desktop.
Save chathurangat/e730eb086131486ab18a688384a0adf4 to your computer and use it in GitHub Desktop.
@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