關於: java.lang.IllegalStateException: StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start


無法啟動web服務器,無法使用內嵌的tomcat

可能的問題就是包沖突所造成的,你看你最近添加了什么包,可能跟springboot版本

再就是看你前面有什么明顯的錯誤

轉自:
https://www.cnblogs.com/sunlang369/p/13878926.html

我前面
cause by
Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
Unable to start embedded Tomcat

我遇到問題后查百度, 各種各樣的原因, 各種各樣的解決方案
我最后改了版本后正常能用了
org.springframework.cloud
spring-cloud-starter-netflix-eureka-server
2.2.9.RELEASE


免責聲明!

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



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