解决Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

从码云上拉下来的Springboot项目,启动项目报错,网上查了好多解决办法大多都说连接数据库出错,但是同事的项目却能正常启动。

 

后来发现是application文件格式出错了。

 

 解决办法:File ->  Project Structure

 

resources文件夹右下角带有金色图标就好了。

 

posted @ 2022-04-08 22:26  95杰少  阅读(12181)  评论(0编辑  收藏  举报