<em>Mac</em>Book项目 2009年学校开始实施<em>Mac</em>Book项目,所有师生配备一本<em>Mac</em>Book,并同步更新了校园无线网络。学校每周进行电脑技术更新,每月发送技术支持资料,极大改变了教学及学习方式。因此2011
2021-06-01 09:32:01
<spring-boot-version>2.3.5.RELEASE</spring-boot-version> <spring-cloud-version>Hoxton.SR8</spring-cloud-version>
Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-03-15 21:56:29.508 ERROR 18232 --- [ main] o.s.boot.SpringApplication : Application run failedorg.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:161) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) ~[spring-context-5.2.10.RELEASE.jar:5.2.10.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at com.imooc.registry.RegistryApp.main(RegistryApp.java:16) ~[classes/:na]
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:142) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:104) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:440) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:193) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:178) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:158) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
... 9 common frames omitted
Caused by: java.lang.IllegalStateException: StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.rethrowDeferredStartupExceptions(TomcatWebServer.java:187) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126) ~[spring-boot-2.3.5.RELEASE.jar:2.3.5.RELEASE]
... 14 common frames omitted
原因:spring cloud版本有問題,更換為一下版本即可
<spring-cloud-version>Hoxton.SR12</spring-cloud-version>
Spring 官方對應版本地址: (https://start.spring.io/actuator/info)
{ "git": { "branch": "7857199786b4ffba883304a75dfbaac342ffaa51", "commit": { "id": "7857199", "time": "2022-03-15T07:59:46Z" } }, "build": { "version": "0.0.1-SNAPSHOT", "artifact": "start-site", "versions": { "spring-boot": "2.6.4", "initializr": "0.13.0-SNAPSHOT" }, "name": "start.spring.io website", "time": "2022-03-15T08:01:37.995Z", "group": "io.spring.start" }, "bom-ranges": { "azure": { "3.2.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1", "3.5.0": "Spring Boot >=2.4.0.M1 and <2.5.0-M1", "3.14.0": "Spring Boot >=2.5.0.M1 and <2.7.0-M1" }, "codecentric-spring-boot-admin": { "2.4.3": "Spring Boot >=2.3.0.M1 and <2.5.0-M1", "2.5.5": "Spring Boot >=2.5.0.M1 and <2.6.0-M1", "2.6.2": "Spring Boot >=2.6.0.M1 and <2.7.0-M1" }, "solace-spring-boot": { "1.1.0": "Spring Boot >=2.3.0.M1 and <2.6.0-M1" }, "solace-spring-cloud": { "1.1.1": "Spring Boot >=2.3.0.M1 and <2.4.0-M1", "2.1.0": "Spring Boot >=2.4.0.M1 and <2.6.0-M1" }, "spring-cloud": { "Hoxton.SR12": "Spring Boot >=2.2.0.RELEASE and <2.4.0.M1", "2020.0.5": "Spring Boot >=2.4.0.M1 and <2.6.0-M1", "2021.0.0-M1": "Spring Boot >=2.6.0-M1 and <2.6.0-M3", "2021.0.0-M3": "Spring Boot >=2.6.0-M3 and <2.6.0-RC1", "2021.0.0-RC1": "Spring Boot >=2.6.0-RC1 and <2.6.1", "2021.0.1": "Spring Boot >=2.6.1 and <2.6.5-SNAPSHOT", "2021.0.2-SNAPSHOT": "Spring Boot >=2.6.5-SNAPSHOT and <3.0.0-M1", "2022.0.0-M1": "Spring Boot >=3.0.0-M1 and <3.1.0-M1" }, "spring-cloud-gcp": { "2.0.8": "Spring Boot >=2.4.0-M1 and <2.6.0-M1", "3.1.0": "Spring Boot >=2.6.0-M1 and <2.7.0-M1" }, "spring-cloud-services": { "2.3.0.RELEASE": "Spring Boot >=2.3.0.RELEASE and <2.4.0-M1", "2.4.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1", "3.3.0": "Spring Boot >=2.5.0-M1 and <2.6.0-M1", "3.4.0": "Spring Boot >=2.6.0-M1 and <2.7.0-M1" }, "spring-geode": { "1.3.12.RELEASE": "Spring Boot >=2.3.0.M1 and <2.4.0-M1", "1.4.13": "Spring Boot >=2.4.0-M1 and <2.5.0-M1", "1.5.10": "Spring Boot >=2.5.0-M1 and <2.6.0-M1", "1.6.4": "Spring Boot >=2.6.0-M1 and <2.7.0-M1", "1.7.0-M2": "Spring Boot >=2.7.0-M1 and <3.0.0-M1", "2.0.0-M1": "Spring Boot >=3.0.0-M1 and <3.1.0-M1" }, "vaadin": { "14.8.5": "Spring Boot >=2.1.0.RELEASE and <2.6.0-M1", "23.0.1": "Spring Boot >=2.6.0-M1 and <2.8.0-M1" }, "wavefront": { "2.0.2": "Spring Boot >=2.1.0.RELEASE and <2.4.0-M1", "2.1.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1", "2.2.2": "Spring Boot >=2.5.0-M1 and <2.7.0-M1" } }, "dependency-ranges": { "native": { "0.9.0": "Spring Boot >=2.4.3 and <2.4.4", "0.9.1": "Spring Boot >=2.4.4 and <2.4.5", "0.9.2": "Spring Boot >=2.4.5 and <2.5.0-M1", "0.10.0": "Spring Boot >=2.5.0-M1 and <2.5.2", "0.10.1": "Spring Boot >=2.5.2 and <2.5.3", "0.10.2": "Spring Boot >=2.5.3 and <2.5.4", "0.10.3": "Spring Boot >=2.5.4 and <2.5.5", "0.10.4": "Spring Boot >=2.5.5 and <2.5.6", "0.10.5": "Spring Boot >=2.5.6 and <2.5.9", "0.10.6": "Spring Boot >=2.5.9 and <2.6.0-M1", "0.11.0-M1": "Spring Boot >=2.6.0-M1 and <2.6.0-RC1", "0.11.0-M2": "Spring Boot >=2.6.0-RC1 and <2.6.0", "0.11.0-RC1": "Spring Boot >=2.6.0 and <2.6.1", "0.11.0": "Spring Boot >=2.6.1 and <2.6.2", "0.11.1": "Spring Boot >=2.6.2 and <2.6.3", "0.11.2": "Spring Boot >=2.6.3 and <2.6.4", "0.11.3": "Spring Boot >=2.6.4 and <2.6.5-SNAPSHOT", "0.11.4-SNAPSHOT": "Spring Boot >=2.6.5-SNAPSHOT and <2.7.0-M1" }, "okta": { "1.4.0": "Spring Boot >=2.2.0.RELEASE and <2.4.0-M1", "1.5.1": "Spring Boot >=2.4.0-M1 and <2.4.1", "2.0.1": "Spring Boot >=2.4.1 and <2.5.0-M1", "2.1.5": "Spring Boot >=2.5.0-M1 and <2.7.0-M1" }, "mybatis": { "2.1.4": "Spring Boot >=2.1.0.RELEASE and <2.5.0-M1", "2.2.2": "Spring Boot >=2.5.0-M1" }, "camel": { "3.5.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1", "3.10.0": "Spring Boot >=2.4.0.M1 and <2.5.0-M1", "3.13.0": "Spring Boot >=2.5.0.M1 and <2.6.0-M1", "3.15.0": "Spring Boot >=2.6.0.M1 and <2.7.0-M1" }, "picocli": { "4.6.3": "Spring Boot >=2.4.0.RELEASE and <3.0.0-M1" }, "open-service-broker": { "3.2.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1", "3.3.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1", "3.4.0-M2": "Spring Boot >=2.5.0-M1 and <2.6.0-M1" } } }
到此這篇關於spring cloud eureka 服務啟動失敗的文章就介紹到這了,更多相關spring cloud eureka 啟動失敗內容請搜尋it145.com以前的文章或繼續瀏覽下面的相關文章希望大家以後多多支援it145.com!
相關文章
<em>Mac</em>Book项目 2009年学校开始实施<em>Mac</em>Book项目,所有师生配备一本<em>Mac</em>Book,并同步更新了校园无线网络。学校每周进行电脑技术更新,每月发送技术支持资料,极大改变了教学及学习方式。因此2011
2021-06-01 09:32:01
综合看Anker超能充系列的性价比很高,并且与不仅和iPhone12/苹果<em>Mac</em>Book很配,而且适合多设备充电需求的日常使用或差旅场景,不管是安卓还是Switch同样也能用得上它,希望这次分享能给准备购入充电器的小伙伴们有所
2021-06-01 09:31:42
除了L4WUDU与吴亦凡已经多次共事,成为了明面上的厂牌成员,吴亦凡还曾带领20XXCLUB全队参加2020年的一场音乐节,这也是20XXCLUB首次全员合照,王嗣尧Turbo、陈彦希Regi、<em>Mac</em> Ova Seas、林渝植等人全部出场。然而让
2021-06-01 09:31:34
目前应用IPFS的机构:1 谷歌<em>浏览器</em>支持IPFS分布式协议 2 万维网 (历史档案博物馆)数据库 3 火狐<em>浏览器</em>支持 IPFS分布式协议 4 EOS 等数字货币数据存储 5 美国国会图书馆,历史资料永久保存在 IPFS 6 加
2021-06-01 09:31:24
开拓者的车机是兼容苹果和<em>安卓</em>,虽然我不怎么用,但确实兼顾了我家人的很多需求:副驾的门板还配有解锁开关,有的时候老婆开车,下车的时候偶尔会忘记解锁,我在副驾驶可以自己开门:第二排设计很好,不仅配置了一个很大的
2021-06-01 09:30:48
不仅是<em>安卓</em>手机,苹果手机的降价力度也是前所未有了,iPhone12也“跳水价”了,发布价是6799元,如今已经跌至5308元,降价幅度超过1400元,最新定价确认了。iPhone12是苹果首款5G手机,同时也是全球首款5nm芯片的智能机,它
2021-06-01 09:30:45