欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

springboot集成springCloud中g(shù)ateway時(shí)啟動(dòng)報(bào)錯(cuò)怎么解決

這篇文章主要介紹“springboot集成springCloud中g(shù)ateway時(shí)啟動(dòng)報(bào)錯(cuò)怎么解決”,在日常操作中,相信很多人在springboot集成springCloud中g(shù)ateway時(shí)啟動(dòng)報(bào)錯(cuò)怎么解決問(wèn)題上存在疑惑,小編查閱了各式資料,整理出簡(jiǎn)單好用的操作方法,希望對(duì)大家解答”springboot集成springCloud中g(shù)ateway時(shí)啟動(dòng)報(bào)錯(cuò)怎么解決”的疑惑有所幫助!接下來(lái),請(qǐng)跟著小編一起來(lái)學(xué)習(xí)吧!

讓客戶滿意是我們工作的目標(biāo),不斷超越客戶的期望值來(lái)自于我們對(duì)這個(gè)行業(yè)的熱愛(ài)。我們立志把好的技術(shù)通過(guò)有效、簡(jiǎn)單的方式提供給客戶,將通過(guò)不懈努力成為客戶在信息化領(lǐng)域值得信任、有價(jià)值的長(zhǎng)期合作伙伴,公司提供的服務(wù)項(xiàng)目有:國(guó)際域名空間、虛擬空間、營(yíng)銷軟件、網(wǎng)站建設(shè)、東蘭網(wǎng)站維護(hù)、網(wǎng)站推廣。

在項(xiàng)目中引入springcloud中的gateway時(shí)報(bào)以下錯(cuò)誤

Description:

Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.springframework.cloud.gateway.config.GatewayAutoConfiguration
required a bean of type "org.springframework.http.codec.ServerCodecConfigurer" that could not be found.

Action:
Consider defining a bean of type "org.springframework.http.codec.ServerCodecConfigurer" in your configuration.

這個(gè)是由于依賴沖突,spring-cloud-starter-gateway與spring-boot-starter-web和spring-boot-starter-webflux依賴沖突

解決方式:

在引入gateway時(shí)過(guò)濾掉上面兩個(gè)依賴

 <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-gateway</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-web</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-webflux</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

springboot整合gateway啟動(dòng)失敗

問(wèn)題:

springboot整合gateway啟動(dòng)失敗

***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyConfiguration.gatewayHttpClient(GatewayAutoConfiguration.java:622)
The following method did not exist:
reactor.netty.resources.ConnectionProvider.elastic(Ljava/lang/String;Ljava/time/Duration;Ljava/time/Duration;)Lreactor/netty/resources/ConnectionProvider;
The method"s class, reactor.netty.resources.ConnectionProvider, is available from the following locations:
jar:file:/C:/Users/Administrator/.m2/repository/io/projectreactor/netty/reactor-netty/0.9.1.RELEASE/reactor-netty-0.9.1.RELEASE.jar!/reactor/netty/resources/ConnectionProvider.class
It was loaded from the following location:
file:/C:/Users/Administrator/.m2/repository/io/projectreactor/netty/reactor-netty/0.9.1.RELEASE/reactor-netty-0.9.1.RELEASE.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of reactor.netty.resources.ConnectionProvider
Disconnected from the target VM, address: "127.0.0.1:55875", transport: "socket"
Process finished with exit code 1

這塊主要是版本兼容的問(wèn)題,

最初用的版本是:

<dependency>
            <groupId>io.projectreactor.netty</groupId>
            <artifactId>reactor-netty</artifactId>
            <version>0.9.4.RELEASE</version>
        </dependency>

網(wǎng)上有的是需要把這個(gè)版本降低,我這是降低了也不行

最后升高了版本改成了:

<dependency>
            <groupId>io.projectreactor.netty</groupId>
            <artifactId>reactor-netty</artifactId>
            <version>0.9.14.RELEASE</version>
        </dependency>

本項(xiàng)目里springboot版本為:2.3.1,根據(jù)自己項(xiàng)目需要吧,看一下自己項(xiàng)目中各個(gè)版本之間的問(wèn)題

到此,關(guān)于“springboot集成springCloud中g(shù)ateway時(shí)啟動(dòng)報(bào)錯(cuò)怎么解決”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)?lái)更多實(shí)用的文章!

分享名稱:springboot集成springCloud中g(shù)ateway時(shí)啟動(dòng)報(bào)錯(cuò)怎么解決
文章起源:http://chinadenli.net/article36/jeispg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供做網(wǎng)站手機(jī)網(wǎng)站建設(shè)、Google、App開發(fā)、網(wǎng)站設(shè)計(jì)公司網(wǎng)站維護(hù)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

微信小程序開發(fā)
韩国日本欧美国产三级| 精品人妻一区二区三区免费看| 人人爽夜夜爽夜夜爽精品视频 | 午夜激情视频一区二区| 日韩精品免费一区三区| 欧美久久一区二区精品| 国产精品久久熟女吞精| 色综合视频一区二区观看| 欧美大粗爽一区二区三区| 亚洲精品蜜桃在线观看| 亚洲一级二级三级精品| 成人午夜激情免费在线| 成人日韩在线播放视频| 欧美一区二区三区在线播放| 草草视频精品在线观看| 欧美日韩亚洲国产精品| 国产乱久久亚洲国产精品| 不卡一区二区在线视频| 精品一区二区三区中文字幕| 亚洲一区二区三区免费的视频| 日本熟妇五十一区二区三区| 欧美日韩中国性生活视频| 国产欧美韩日一区二区三区| 欧美日韩国产免费看黄片| 美国女大兵激情豪放视频播放| 91插插插外国一区二区| 国产精品亚洲一区二区| 人妻熟女欲求不满一区二区| 国产专区亚洲专区久久| 大香蕉久久精品一区二区字幕| 亚洲品质一区二区三区| 欧美一级特黄特色大色大片| 日韩成人h视频在线观看| 精品国产品国语在线不卡| 日本深夜福利在线播放| 欧美日韩亚洲巨色人妻| 欧美一级黄片免费视频| 日韩人妻一区二区欧美| 91蜜臀精品一区二区三区| 亚洲欧美日韩国产综合在线| 中文字幕佐山爱一区二区免费|