一.项目环境搭建pom.xml
<
dependencies
>
<
dependency
>
<
groupId
>org.springframework.boot
</
groupId
>
<
artifactId
>spring-boot-starter-data-jpa
</
artifactId
>
</
dependency
>
<
dependency
>
<
groupId
>org.springframework.boot
</
groupId
>
<
artifactId
>spring-boot-starter-web
</
artifactId
>
</
dependency
>
<
dependency
>
<
groupId
>org.springframework.boot
</
groupId
>
<
artifactId
>spring-boot-starter-thymeleaf
</
artifactId
>
</
dependency
>
<
dependency
>
<!--Springboot的热部署-->
<
dependency
>
<
groupId
>org.springframework.boot
</
groupId
>
<
artifactId
>spring-boot-devtools
</
artifactId
>
<
scope
>runtime
</
scope
>
</
dependency
>
<
dependency
>
<
groupId
>mysql
</
groupId
>
<
artifactId