使用springcould添加geteway网关配置后,启动服务出错!


错误描述:

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.

错因:

依赖冲突

spring-boot-starter-web中有网关模块微服务,并且与spring-cloud-starter-gateway 中的webflux依赖相冲突

解决:

将spring-boot-starter-web依赖排除即可

解决问题:Parameter 0 of method modifyRequestBodyGatewayFilterFactory inorg.springframework.cloud.gateway相关推荐

  1. SpringBootc出现Parameter 0 of method modifyRequestBodyGatewayFilterFactory in org.springframework.clo

    去掉<dependency>             <groupId>org.springframework.cloud</groupId>           ...

  2. Parameter 0 of method modifyRequestBodyGatewayFilterFactory....真正的解决办法!!!!!

    这是spring cloud使用gateway网关的时候出现的错误. 这里喷一下:一百度这个错误,全部都是说是spring-boot-starter-web包冲突导致的,结果尼玛全部文章相似度98%以 ...

  3. Parameter 0 of method linkDiscoverers in org.springframework.hateoas.config.HateoasConfiguration

    今天用SpringBoot2.3.0整合swagger2.2.2版本的时候,启动SpringBoot报如下错: Error starting ApplicationContext. To displa ...

  4. Parameter 0 of method linkDiscoverers in org.springframework.hateoas.config.HateoasConfiguration req

    项目场景: 整合springboot项目并对springboot项目进行版本升级 问题描述: 错误信息: Description:Parameter 0 of method linkDiscovere ...

  5. Parameter 0 of method errorPageCustomizer in ErrorMvcAutoConfiguration 异常解决

    Parameter 0 of method errorPageCustomizer in ErrorMvcAutoConfiguration required a bean of type 'xxx. ...

  6. Parameter 0 of method redisTemplate in org

    服务提供方在使用这个redis的时候,因为引入错误的依赖,所以导致出现下面的报错.以及消费方也报了一堆错误 Error starting ApplicationContext. To display ...

  7. 关于Description: Parameter 0 of method customRouteLocator in com.powernode.config.RouteConfig require

    错误 Description: Parameter 0 of method customRouteLocator in com.powernode.config.RouteConfig require ...

  8. 错误:Parameter 0 of method sqlSessionFactory in MyBatisConfig required a bean of type ‘javax.sql.DataS

    SpringBoot启动错误: *************************** APPLICATION FAILED TO START ***************************D ...

  9. springboot启动报错Parameter 0 of method a in com.* required a bean of type 'java.lang.String' that could

    springboot服务启动报错,报错信息如下 *************************** APPLICATION FAILED TO START ******************** ...

  10. Failed to introspect Class [org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyC

    今天碰到一个版本的问题,搭建gateway.idea运行.maven工程来的. 起初运行一直卡在这,无法进入SpringBoot启动的界面 java.lang.IllegalStateExceptio ...

最新文章

  1. HandlerThread原理与应用
  2. exlsx表格教程_用Ctrl+E处理Excel表格,快到你无法想象!
  3. 云计算成IT反“腐”后盾-《中国电子报》2013年5月特刊
  4. web服务器-nginx
  5. 《挖财编程题》水花仙数
  6. PHP客服系统-vue客服聊天系统 v1.0
  7. 十二、K8s job cronjob相关操作
  8. Mapreduce和yarn-内存设置
  9. 读《菜鸟学习***必看,不看别后悔》有感
  10. 编译原理-第一节(东南大学廖力老师)
  11. android报警声音
  12. 映美精黑白相机在linux平台上的使用(一)
  13. iTween介绍和用法
  14. Vue项目使用v-drag实现拖拽功能
  15. JS将任意格式的时间转为Date对象
  16. 为华生物COOH-PEG-MAL羧基-聚乙二醇-马来酰亚胺的简介及应用说明
  17. 一起学Python吧~Python3调用Ansible项目实战
  18. python骂人脚本_Python 实现王者荣耀中的敏感词过滤示例
  19. 数学笔记22——三角替换3(反向替换和配方)
  20. 别告诉我你懂PPT.李治.扫描版.pdf

热门文章

  1. springboot获取国家法定节假日
  2. 平均绝对误差(MAE)、对数平均绝对误差(LMAE)、指数平均绝对误差(EMAE)用法的不同与相似之处
  3. 自动刷抖音脚本(解放你的双手)
  4. day048:LocalDateTime中增加、减少、直接修改时间的方法、计算时间间隔的方法
  5. Golang获取时间戳并增加一天
  6. python求小于n的最大素数_枚举1--求小于n的最大素数
  7. CSDN Markdown 图片排版显示
  8. solidity 合约地址转钱包、钱包地址转合约
  9. 三维立体图的原理和欣赏方法
  10. 国内外接口文档工具哪家强?