整合Spring Cloud Alibaba
整合Spring Cloud Alibaba
maven pom增加依赖
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>{spring-cloud-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
整合Spring Cloud Alibaba
wiki版本说明
根据SpringCloud版本在dependencyManagement添加依赖
Greenwich版本时Pom依赖:
<dependencyManagement>
<!--整合Spring cloud-->
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<!--整合spring cloud alibaba-->
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.1.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
整合后使用对应组件依赖无需填写版本号,而是由dependencyManagement内的文件控制
不错不错,我喜欢看 www.jiwenlaw.com
《职场无间道》剧情片高清在线免费观看:https://www.jgz518.com/xingkong/86627.html
你的文章内容非常专业,让人佩服。 http://www.55baobei.com/D5G1t3mKI1.html
《月吟》喜剧片高清在线免费观看:https://www.jgz518.com/xingkong/99606.html
《张大千敦煌传奇》国产剧高清在线免费观看:https://www.jgz518.com/xingkong/27778.html
哈哈哈,写的太好了https://www.lawjida.com/
文章深入浅出,既有深度思考,又不乏广度覆盖,令人叹为观止。
?技术类评语?