1.idea创建项目

2.项目配置
maven

编辑项目编码

删除无用文件
修改配置文件后缀,设置数据库

spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url:jdbc:mysql://localhost:3306/honey2024?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
username:
password:
启动

启动成功

















