Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.的解決方法


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

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM