原文:【spring boot】整合LCN,啟動spring boot2.0.3 啟動報錯:Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

spring boot . . 啟動報錯: 解決之路: 首先,在啟動類上添加注解 EnableAutoConfiguration 或 SpringBootApplication 這種 解決方案 ,都是無效的 其次,maven編譯install這個spring boot服務,打包成功 如果這一步失敗,需要查看一下失敗原因,然后解決 最后,仔細觀察錯誤 猛然發現,本spring boot服務啟動是以w ...

2018-10-24 15:10 0 6518 推薦指數:

查看詳情

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