原文:springboot啟動報錯,Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

報錯: View Code 最近在研究springboot, 昨晚寫到一半后保存睡覺, 今早一運行報錯. 在網上搜索大多數是說配置文件問題, 或者是配置文件的位置問題. 筆者發現在自己的工程中並沒有這些問題, 於是又對前一天寫的內容進行了一次排查. 發現, 原來是在最后copy了一段代碼, 沒有改完 RequestMapping XXX 路徑名重復所以報錯 , 修改 RequestMapping ...

2019-06-18 09:37 0 4453 推薦指數:

查看詳情

SpringBoot啟動報:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

錯誤的關鍵信息不在這一行,這一行的大概意思是:   啟動ApplicationContext時出錯。要顯示條件報告,請在啟用“調試”的情況下重新運行您的應用程序。 這只是告訴你出錯了,要根據下面的信息來解決,如果錯誤信息和下面不同,可以重新拿自己報錯的關鍵信息解決或搜索 ...

Sun Jan 10 23:51:00 CST 2021 0 13549
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM