springboot-run运行报错
在pom.xml中加入jar包的方式打包
若之后出现Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3(default-cli) on project weimaonew: Could not exec java: Application finished with exit code: 1 这个错误
则看下你刚才是否已经用启动类启动了springboot
关闭再运行应该就可以启动成功了 若不行再检查启动类放到位置
启动类要与com.baizhi包下在=与entity...包平级
并且有这两个注解。