摘要: 1.集成MyBatis 1)引入依赖 基本依赖,jdk版本号; <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupI 阅读全文
posted @ 2018-04-16 16:22 袋子里的袋鼠 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Spring Boot添加JSP支持 1.新建一个Maven Web Project 2.在pom.xml文件添加依赖 <!-- spring boot parent节点,引入这个之后,在下面和spring boot相关的就不需要引入版本了; --> <parent> <groupId>org.sp 阅读全文
posted @ 2018-04-16 15:48 袋子里的袋鼠 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1.thymeleaf (1)在pom.xml中引入thymeleaf; <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> < 阅读全文
posted @ 2018-04-16 15:19 袋子里的袋鼠 阅读(335) 评论(0) 推荐(0) 编辑