package com.techempower.spring;

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

@ComponentScan
@EnableAutoConfiguration
public class SampleApplication extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(SampleApplication.class);
	}

	public static void main(String[] args) throws Exception {
		new SpringApplicationBuilder(SampleApplication.class).run(args);
	}

}
@@ -97,16 +97,91 @@
 ration;%0A
+import org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration;%0A
 import o
@@ -369,48 +369,176 @@
 an;%0A
-%0A@ComponentScan%0A@EnableAutoConfiguration
+import org.springframework.web.servlet.config.annotation.EnableWebMvc;%0A%0A@ComponentScan%0A@EnableAutoConfiguration(exclude = %7BWebMvcAutoConfiguration.class%7D)%0A@EnableWebMvc
 %0Apub

disable some filters