package net.jawr.application;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * The Spring boot Application
 * @author ibrahim Chaehoi
 *
 */
@Configuration
@EnableAutoConfiguration
@ComponentScan
public class Application extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(
			SpringApplicationBuilder application) {
		return application.sources(Application.class);
	}
	 
}
@@ -701,11 +701,150 @@
 s);%0A%09%7D%0A%09
- 
+%0A%09public static void main(String%5B%5D args) throws Exception %7B%0A%09%09org.springframework.boot.SpringApplication.run(Application.class, args);%0A    %7D
 %0A%7D

Update spring boot sample