SpringBooot框架 ServlerConxtextListener的方法实现和注解实现的区别
废话不说,直接码上:
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.ServletListene
原创
2020-05-09 17:25:10 ·
154 阅读 ·
0 评论