spring boot 启动报错: Process finished with exit code 1

Disconnected from the target VM, address: '127.0.0.1:63245', transport: 'socket'

Process finished with exit code 1

网上很多方法试过之后未起作用,多次研究之后发现是配置文件读取失败造成的,
在pom.xml中加入

在这里插入图片描述
重启之后问题解决

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章