File was renamed from src/main/java/com/whyc/Application.java |
| | |
| | | @ServletComponentScan(basePackages = {"com.whyc.filter","com.whyc.servlet","com.whyc.listener"}) |
| | | @EnableCaching |
| | | @EnableScheduling |
| | | public class Application extends WebMvcConfigurerAdapter implements WebMvcConfigurer { |
| | | public class App extends WebMvcConfigurerAdapter implements WebMvcConfigurer { |
| | | //public class Application extends SpringBootServletInitializer { |
| | | |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(Application.class,args); |
| | | SpringApplication.run(App.class,args); |
| | | } |
| | | |
| | | /*war改造*/ |