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

创建一个SpringBoot项目,在pom.xml中的引入 org.mybatis.spring.boot 依赖 如果红色框里面没有注释掉并重新Import  Changes,一运行项目就会报错如下图片所示: 还有如下图的警告: 只有将pom.xml中的这个注释掉,如下图所示: 再点击import changes, 等编译完了,再运行就正常了。
相关文章
相关标签/搜索