基于IDEA创建Spring boot 项目实现登陆注册(Spring的学习之旅 二)
前言 说实话,小编写博客真的喜欢写的很详细的,这一篇文章小编带大家做一做如何完成登陆与注册操作,话不多说我们开始吧。 如何创建spring boot 项目以及配置Idea请访问 link.https://blog.csdn.net/weixin_43055096/article/details/87881113
主体内容
配置pom.xml,点击pom.xml,大家看到的controller dao entity这些文件夹,不要急后面会说。 这是小编的pox.xml配置的一部分,大家可以参考一下,如何大家的Meave配置成功我们的项目是可以自动导入jar包的(啊哈哈哈哈,这就meave的强大),如果大家不清楚,请点击右上角的那个复制。
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-jdbc
org.springframework.boot
spring-boot-starter-thymeleaf
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-devtools
runtime
mysql
mysql-connector-java
runtime
org.springframework.boot |