springboot相关

1.启动类要嘛放在跟controller同一个包,要嘛在controller的上级包。

2.springboot整合jsp,项目打包类型一定要是war,因为需要webapp的支持。

3.springboot是一个快速开发框架,通过maven依赖机制,将一些常用的jar封装成maven组件。

4.EnableAutoConfiguration、ConponentScan、SpringBootApplication:SpringBootApplication=EnableAutoConfiguration+ConponentScan;

posted on 2019-03-27 17:00  3池  阅读(65)  评论(0编辑  收藏  举报

导航