关于启动SpringBoot简单项目报错Error starting ApplicationContext. To display the conditions report re-run ..的问题

Posted dxmcu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关于启动SpringBoot简单项目报错Error starting ApplicationContext. To display the conditions report re-run ..的问题相关的知识,希望对你有一定的参考价值。

当我们创建一个SpringBoot项目,它pom.xml中的这个地方是这样的:如图所示

如果红色框里面没有注释点,一运行项目就会报错如下图片所示:   

经过一番百度也没有发现类似报错的情况,也不知道这么去解决。

只有将pom.xml中的这个注释掉,如下图所示:

 

 

 

以上是关于关于启动SpringBoot简单项目报错Error starting ApplicationContext. To display the conditions report re-run ..的问题的主要内容,如果未能解决你的问题,请参考以下文章