Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.的解決方法
問題截圖:
解決方法:
在pom.xml中的依賴中加入mybatis-spring-boot-starter依賴:
<dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.2.2</version> </dependency>
最后記得刷新maven包!!!
重新啟動程序。
顯示程序啟動成功。
問題解決!
參考博客:
https://blog.csdn.net/lgj860123/article/details/90949722