摘要: LZ今天自己搭建了下Spring boot+Mybatis,比原来的Spring+SpringMVC+Mybatis简单好多。其实只用Spring boot也可以开发,但是对于多表多条件分页查询,Spring boot就有点力不从心了,所以LZ把Mybatis整合进去,不得不说,现在的框架搭建真的是 阅读全文
posted @ 2019-03-25 17:10 吴浩2008 阅读(198) 评论(0) 推荐(0)
摘要: 1、starter spring boot是以极简为风格,以默认替代配置的思想。内嵌了tomcat、jetty等容器。pom.xml文件如下,其中spring-boot-starter-web不仅包含spring-boot-starter,还自动开启了web功能。 启动springboot有三种方式 阅读全文
posted @ 2019-03-25 11:54 吴浩2008 阅读(172) 评论(0) 推荐(0)