1.Spring cloud 版本
<spring-cloud.version>Greenwich.M1</spring-cloud.version>
2.Spring boot 版本
<version>2.1.0.RELEASE</version>
出现问题:
1.在搭建Spring cloud Gateway网关时候,出现了以下错误
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.
造成的原因:因为版本jar依赖冲突导致该问题的产生。
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
与
<depe