宅男在线永久免费观看网直播,亚洲欧洲日产国码无码久久99,野花社区在线观看视频,亚洲人交乣女bbw,一本一本久久a久久精品综合不卡

全部
常見問題
產(chǎn)品動(dòng)態(tài)
精選推薦

Spring Boot、Spring Cloud、Spring Cloud Alibaba等框架之間不得不說的版本關(guān)系

管理 管理 編輯 刪除

這篇博文是臨時(shí)增加出來的內(nèi)容,主要是由于最近連載《Spring Cloud Alibaba基礎(chǔ)教程》系列的時(shí)候,碰到讀者咨詢的大量問題中存在一個(gè)比較普遍的問題:版本的選擇。其實(shí)這類問題,在之前寫Spring Cloud基礎(chǔ)教程的時(shí)候,就已經(jīng)發(fā)過一篇《聊聊Spring Cloud版本的那些事兒》open in new window,來說明Spring Boot和Spring Cloud版本之間的關(guān)系。

#Spring Cloud Alibaba現(xiàn)階段版本的特殊性

現(xiàn)在的Spring Cloud Alibaba由于沒有納入到Spring Cloud的主版本管理中,所以我們需要自己去引入其版本信息,比如之前教程中的例子:


    
        
            org.springframework.cloud
            spring-cloud-dependencies
            Finchley.SR1
            pom
            import
        
        
            org.springframework.cloud
            spring-cloud-alibaba-dependencies
            0.2.1.RELEASE
            pom
            import
        
    



而不是像以往使用Spring Cloud的時(shí)候,直接引入Spring Cloud的主版本(Dalston、Edgware、Finchley、Greenwich這些)就可以的。我們需要像上面的例子那樣,單獨(dú)的引入spring-cloud-alibaba-dependencies來管理Spring Cloud Alibaba下的組件版本。

由于Spring Cloud基于Spring Boot構(gòu)建,而Spring Cloud Alibaba又基于Spring Cloud Common的規(guī)范實(shí)現(xiàn),所以當(dāng)我們使用Spring Cloud Alibaba來構(gòu)建微服務(wù)應(yīng)用的時(shí)候,需要知道這三者之間的版本關(guān)系。

下表整理了目前Spring Cloud Alibaba的版本與Spring Boot、Spring Cloud版本的兼容關(guān)系:

Spring BootSpring CloudSpring Cloud Alibaba
2.1.xGreenwich0.9.x
2.0.xFinchley0.2.x
1.5.xEdgware0.1.x
1.5.xDalston0.1.x

(上表截止于本文發(fā)布時(shí)間,如果已經(jīng)過時(shí),請(qǐng)查看Spring官網(wǎng))

以上版本對(duì)應(yīng)內(nèi)容根據(jù)當(dāng)前情況實(shí)時(shí)調(diào)整修改,以方便用戶了解他們的對(duì)應(yīng)關(guān)系變化情況

所以,不論您是在讀我的《Spring Boot基礎(chǔ)教程》open in new window、《Spring Cloud基礎(chǔ)教程》open in new window還是正在連載的《Spring Cloud Alibaba系列教程》。

當(dāng)您照著博子的順序,一步步做下來,但是沒有調(diào)試成功的時(shí)候,強(qiáng)烈建議檢查一下,您使用的版本是否符合上表的關(guān)系。


請(qǐng)登錄后查看

Lily jar 最后編輯于2024-12-23 16:41:08

快捷回復(fù)
回復(fù)
回復(fù)
回復(fù)({{post_count}}) {{!is_user ? '我的回復(fù)' :'全部回復(fù)'}}
排序 默認(rèn)正序 回復(fù)倒序 點(diǎn)贊倒序

{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level }}

作者 管理員 企業(yè)

{{item.floor}}# 同步到gitee 已同步到gitee {{item.is_suggest == 1? '取消推薦': '推薦'}}
{{item.is_suggest == 1? '取消推薦': '推薦'}}
沙發(fā) 板凳 地板 {{item.floor}}#
{{item.user_info.title || '暫無簡(jiǎn)介'}}
附件

{{itemf.name}}

{{item.created_at}}  {{item.ip_address}}
打賞
已打賞¥{{item.reward_price}}
{{item.like_count}}
{{item.showReply ? '取消回復(fù)' : '回復(fù)'}}
刪除
回復(fù)
回復(fù)

{{itemc.user_info.nickname}}

{{itemc.user_name}}

回復(fù) {{itemc.comment_user_info.nickname}}

附件

{{itemf.name}}

{{itemc.created_at}}
打賞
已打賞¥{{itemc.reward_price}}
{{itemc.like_count}}
{{itemc.showReply ? '取消回復(fù)' : '回復(fù)'}}
刪除
回復(fù)
回復(fù)
查看更多
打賞
已打賞¥{{reward_price}}
1412
{{like_count}}
{{collect_count}}
添加回復(fù) ({{post_count}})

相關(guān)推薦

快速安全登錄

使用微信掃碼登錄
{{item.label}} 加精
{{item.label}} {{item.label}} 板塊推薦 常見問題 產(chǎn)品動(dòng)態(tài) 精選推薦 首頁(yè)頭條 首頁(yè)動(dòng)態(tài) 首頁(yè)推薦
取 消 確 定
回復(fù)
回復(fù)
問題:
問題自動(dòng)獲取的帖子內(nèi)容,不準(zhǔn)確時(shí)需要手動(dòng)修改. [獲取答案]
答案:
提交
bug 需求 取 消 確 定
打賞金額
當(dāng)前余額:¥{{rewardUserInfo.reward_price}}
{{item.price}}元
請(qǐng)輸入 0.1-{{reward_max_price}} 范圍內(nèi)的數(shù)值
打賞成功
¥{{price}}
完成 確認(rèn)打賞

微信登錄/注冊(cè)

切換手機(jī)號(hào)登錄

{{ bind_phone ? '綁定手機(jī)' : '手機(jī)登錄'}}

{{codeText}}
切換微信登錄/注冊(cè)
暫不綁定
CRMEB客服

CRMEB咨詢熱線 咨詢熱線

400-8888-794

微信掃碼咨詢

CRMEB開源商城下載 源碼下載 CRMEB幫助文檔 幫助文檔
返回頂部 返回頂部
CRMEB客服