Skip to content

Instantly share code, notes, and snippets.

@pacroy
Created September 23, 2017 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pacroy/4c34194cd1bed3e20a8dee5951133eb7 to your computer and use it in GitHub Desktop.
Save pacroy/4c34194cd1bed3e20a8dee5951133eb7 to your computer and use it in GitHub Desktop.
package com.pacroy.helloscp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
@SpringBootApplication
public class HelloScpApplication extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
{
return application.sources(HelloScpApplication.class);
}
public static void main(String ... args){
SpringApplication.run(HelloScpApplication.class, args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment