idea 搭建spring boot 项目

 

2

 

idea 搭建spring boot 项目

然后点击下面的next

之后点击web选择web 点击sql 选择mysql mybatis

idea 搭建spring boot 项目

点击next

idea 搭建spring boot 项目

idea 搭建spring boot 项目

 

如果你使用的数据库是mysql 那么需要配置下在idea 搭建spring boot 项目

里面填写

######3#######数据库配置################
spring.datasource.url=jdbc:mysql://localhost:3306/enterprise_manage_system
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.jdbc.Driver

这些干什么的都有说明 换成自己的即可

测试一下, 在包里面填写数据

idea 搭建spring boot 项目

运行  

看最下面如果看到

idea 搭建spring boot 项目

started 多少秒也就说明启动成功

然后在浏览器中测试输入地址+端口号+he(自己去的)

 

相关文章:

  • 2022-12-23
  • 2021-04-03
  • 2021-10-15
  • 2022-12-23
  • 2021-03-28
  • 2021-10-17
  • 2021-11-20
  • 2021-06-01
猜你喜欢
  • 2021-08-06
  • 2022-03-03
  • 2021-11-26
  • 2021-11-03
  • 2021-10-10
  • 2021-10-18
  • 2021-08-02
相关资源
相似解决方案