SpringBoot与Servlet3.0整合注解
SpringBoot与Servlet3.0整合注解首先创建一个SpringBoot的启动类,添加@ServletComponentScan注解@SpringBootApplication@ServletComponentScanpublic class SpringBootStarter { public static void main(String[] args) { SpringApplication.run(SpringBootStarter.class, args); }}
原创
2020-11-10 18:23:37 ·
695 阅读 ·
0 评论