摘要:
1.导入依赖 <!-- 引入mysql需要的依赖 --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <!-- 引入spring data jpa需 阅读全文
摘要:
1.导入依赖 <!-- 添加thymeleaf模版的依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dep 阅读全文
摘要:
1.导入依赖 <!-- 配置springboot的父节点依赖,之后引入就不需要添加version配置了! springboot会自动选择最合适的版本进行添加依赖 --> <parent> <groupId>org.springframework.boot</groupId> <artifactId> 阅读全文