这是Debug开启的错误提示[09:01:18:427] [INFO] - org.springframework.boot.StartupInfoLogger.logStarting(StartupInfoLogger.java:50) - Starting DemoApplication on D
ESKTOP-3SEFB4L with PID 8280 (D:\demo\target\classes started by kingland in D:\demo)
[09:01:18:439] [DEBUG] - org.springframework.boot.StartupInfoLogger.logStarting(StartupInfoLogger.java:53) - Running with Spring Boot v2.1.2.
RELEASE, Spring v5.1.4.RELEASE
[09:01:18:440] [INFO] - org.springframework.boot.SpringApplication.logStartupProfileInfo(SpringApplication.java:675) - No active profile set,
falling back to default profiles: default
Disconnected from the target VM, address: '127.0.0.1:59262', transport: 'socket'
Process finished with exit code 1成功开启Redis和MQ,数据库也没问题
6 回答
慕容708150
TA贡献1831条经验 获得超4个赞
你这个是没有编译好,提示没有激活的配置。试试用maven 命令重新打包clean package install -Dmaven.test.skip=true -Pdemo 其中 -Pdemo 就是制定配置文件 。或者用编译器maven插件打包
配置文件
添加回答
举报
0/150
提交
取消