package hello; import org.springframework.bootstrap.SpringApplication; import org.springframework.bootstrap.context.annotation.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; @Configuration @EnableAutoConfiguration @EnableWebMvc @ComponentScan public class HelloWorldConfiguration { public static void main(String[] args) { SpringApplication.run(HelloWorldConfiguration.class, args); } }