SpringData JPA 、Hibernate与Spring Boot集成 迈不过友情╰ 2022-05-09 09:30 155阅读 0赞 dependencies { compile('org.springframework.boot:spring-boot-starter-web') //添加thymeleaf依赖 compile('org.springframework.boot:spring-boot-starter-thymeleaf') //添加测试依赖 testCompile('org.springframework.boot:spring-boot-starter-test') //添加Spring Data JAP的依赖 compile('org.springframework.boot:spring-boot-starter-data-jpa') //添加Mysql连接驱动依赖 runtime('mysql:mysql-connector-java') //添加H2的依赖 runtime('com.h2database:h2:1.4.193') }
还没有评论,来说两句吧...