背景
spring boot项目启动后马上关闭了容器,日志什么也没有打印。

解决
点击上面的Run Configuration,打开spring boot的debug日志,并重新启动。


可以看到这边启动的时候报了一个类不存在,这个是因为console项目引用了core项目,core项目没有先编译的原因。
编译core项目重新启动,问题解决。
spring boot项目启动后马上关闭了容器,日志什么也没有打印。
点击上面的Run Configuration,打开spring boot的debug日志,并重新启动。
可以看到这边启动的时候报了一个类不存在,这个是因为console项目引用了core项目,core项目没有先编译的原因。
编译core项目重新启动,问题解决。
本文标题:spring boot启动自动关闭
本文链接:https://www.haomeiwen.com/subject/zzeadltx.html
网友评论