SpringCloud Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded


出现此问题,有可能是spring cloud 与spring boot 版本不匹配引发的问题,此次用的版本是:Finchley.RC1

 

经过一番关键字查找,发现spring cloud 与spring boot有着比较严格的版本匹配。不能再像开发单体应用时,随时变更spring boot的版本。

现将版本对应规则写下来,引用的是其他网友的博客。

来源:https://www.cnblogs.com/it-taosir/p/9979579.html

一、常见版本号说明

  举个瓜:2.0.3 RELEASE

  2:主版本号,当功能模块有较大更新或者整体架构发生变化时,主版本号会更新

  0:次版本号。次版本表示只是局部的一些变动。

  2:修改版本号。一般是bug的修改或者是小的变动

  RELEASE:希腊字母版本号。此版本号用户标注当前版本的软件处于哪个开发阶段

 

二、希腊字母版本号

  Base:设计阶段。只有相应的设计没有具体的功能实现。

  Alpha:软件的初级版本。基本功能已经实现,但存在较多的bug。

  Bate:相对于Alpha已经有了很大的进步,消除了严重的BUG,但还存在一些潜在的BUG,还需要不断测试。

  RELEASE:最终版本,没有太大的问题。

 

三、SpringCloud的版本号

  1)为什么springcloud版本用的是单词而不是数字呢?

    设计的目的是为了更好的管理每个SpringCloud子项目的清单,避免自己的版本号与子项目的版本号混淆。

  2)有什么规则么?

    (常用了英国伦敦地铁站的名称来命名)首字母越靠后表示版本号越大

  3)关于版本发布说明?

    BUILD-XXX      开发版    开发团队内部使用,不是很稳定

    GA          稳定版    相比于开发版,基本上可以使用了

    PRE(M1、M2)     里程碑版   主要是修复了一些BUG的版本,一个GA后通常有多个里程碑版

    RC          候选发布版  该阶段的软件类似于最终版的一个发行观察期,基本只修复比较严重的BUG

    SR          正式发布版  ~~~~这个就没啥好说啦

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 spring cloud eureka启动失败:org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat Nacos enable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat org.springframework.boot.web.server.WebServerException: Unable to create tempDir. java.io.tmpdir is set to C:\Users\ADMINI~1\AppData\Local\Temp\2\ nacos启动报错 Unable to start web server; nested exception is org.springframework.boot.web.server SpringBoot项目 org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Jetty servlet container报错 spring boot 开发 org.springframework.context.ApplicationContextException: Unable to start web server; SpringCloud报错:Caused by: org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean. org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplic 错误:org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWeb
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM