一、初始化项目
新建一个springboot项目
二、bug:
bug1:
1.To display the conditions report re-run your application with ‘debug’ enabled.
原因:yml端口书写错误,或者端口被占用
bug2
url无法读取
原因:没有链接数据库
最终yml配置方案
#启动端口
server:
port: 6645
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/nascent
username: root
password: *****