SpringBoot与Cloud版本匹配问题
在使用SpringCloud的时候需要在SpringBoot工程的pom.xml中引入
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Dalston.RELEASE</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
此时就要注意SpringCloud与SpringBoot的兼容问题,像上述的SpringCloud版本为Dalston,那么与之对应的SpringBoot版本就应该为1.5.x,像这样
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>1.5.10.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>
此时SpringBoot版本为1.5.10,是兼容的。
版本兼容表:
Spring Cloud	                        Spring Boot
Finchley	                          兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.x
Dalston和Edgware	                   兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.x
Camden	                            兼容Spring Boot 1.4.x,也兼容Spring Boot 1.5.x
Brixton	                            兼容Spring Boot 1.3.x,也兼容Spring Boot 1.4.x
Angel	                            兼容Spring Boot 1.2.x
												
											SpringBoot与Cloud版本匹配问题的更多相关文章
- Spring Cloud与Spring Boot版本匹配关系
		
Spring Cloud是什么? “Spring Cloud provides tools for developers to quickly build some of the common pat ...
 - 【Spring Cloud】与Spring Boot版本匹配关系
		
Spring Cloud版本演进情况如下: 版本名称 版本Finchley snapshot版Edgware snapshot版Dalston SR1 当前最新稳定版本Camden SR7 稳定版本B ...
 - Spring Cloud版本 version命名说明 (Edgware)
		
Spring Cloud版本 version命名说明 (Edgware) 版权声明:guofangsky 版权所有,转载不究. https://blog.csdn.net/guofangsky/a ...
 - springboot和springcloud版本上的选择
		
现在的springboot项目和cloud版本都是更新很快,但我们开发不是版本越新越好,我们要把版本对应起来,那么我们怎么去关联呢? springboot和springcloud不是越新越好,clou ...
 - 聊聊Spring Cloud版本的那些事儿
		
说说Spring Cloud版本的那些事儿. 版本命名 之前提到过,Spring Cloud是一个拥有诸多子项目的大型综合项目,原则上其子项目也都维护着自己的发布版本号.那么每一个Spring Clo ...
 - Spring Cloud版本
		
Spring Cloud版本 Spring Cloud版本演进情况如下: 版本名称 版本 Finchley snapshot版 Edgware snapshot版 Dalston SR1 当前最新稳定 ...
 - 微服务与Spring Cloud基本概念、Spring Cloud版本命名方式与版本选择
		
微服务是什么?Spring Cloud是什么?Spring Cloud版本命名方式?Spring Cloud版本选择? 一.微服务是什么 微服务是一种架构风格,是一种将单体应用开发为一组小型服务的方法 ...
 - springboot与springcloud版本不对应导致报错java.lang.NoSuchMethodError: org.springframework.boot.builder.SpringApplicationBuilder.<init>([Ljava/lang/Object;)V
		
springboot启动报错: 10:31:50.221 [main] ERROR org.springframework.boot.SpringApplication - Application r ...
 - springboot和springcloud版本冲突问题
		
最近搭建eureka项目,出现boot和cloud版本不匹配错误,记录下来 2019-12-06 14:00:20.043 ERROR 180780 --- [ main] o.s.boot.Spri ...
 
随机推荐
- Oracle通过序列+触发器实现主键自增
			
接触oracle没多久,在建表的时候发现还不会如何设置主键自动增长.和mysql的设置为AUTO_INCREMENT属性相比,要复杂很多,所以现在记录起来. 我使用的是序列+触发器的方式. 现在已经创 ...
 - 【UWP】使用 Rx 改善 AutoSuggestBox
			
在 UWP 中,有一个控件叫 AutoSuggestBox,它的主要成分是一个 TextBox 和 ComboBox.使用它,我们可以做一些根据用户输入来显示相关建议输入的功能,例如百度首页搜索框那种 ...
 - 还原是不可能还原的,这辈子都不可能还原(手动笑cry)
			
不好意思,我又把原厂避震换回border的绞牙了. 这套台湾绞牙已经陪伴了我第三个年头了,本次主要是调节了桶身高度,让车身升高了一下,现在是前面3指松将近4指.后面2指(以前是前面2指半.后面1指松2 ...
 - Android RxJava zip 操作符
			
不说话,直接举例 // zip 2 observables Observable.zip(Observable.just(0), Observable.just(0), BiFunction { t1 ...
 - Mybatis框架一:搭建测试
			
Mybatis框架不再介绍: 在JDBC中存在一些问题: 1.频繁连接和释放资源浪费内存 2.编码完成后不便于维护 于是产生了简化数据库操作的框架:Hibernate.Mybatis等等,这里介绍My ...
 - Rolling Hash about the Rsync
			
今天看文献看到一个有趣的算法—Rolling Hash,这个算法可以更新在不同的machine上的两个“similar”的文件,也叫做rsync algorithm,rsync顾名思义:remote ...
 - Spring Boot定制启动图案
			
启动图案 Spring Boot在启动的时候会显示一个默认的Spring的图案,对应的类为SpringBootBanner. . ____ _ __ _ _ /\\ / ___'_ __ _ _(_) ...
 - Python函数——闭包延迟绑定
			
前言 请看下面代码 def multipliers(): return [lambda x : i*x for i in range(4)] print ([m(2) for m in multipl ...
 - git新建远程分支后 pycharm本地看不到 处理方式
			
远程仓库新建分支:odoo_test_env 首先切换到本地代码git init目录:git remote update origin --prune odoo@odoo-test:~/odoosha ...
 - numpy中pad函数的常用方法
			
一.参数解释 ndarray = numpy.pad(array, pad_width, mode, **kwargs) array为要填补的数组 pad_width是在各维度的各个方向上想要填补的长 ...