我用到的gateway的版本是 2.1.2.RELEASE
项目启动时遇到的错误信息如下:
No qualifying bean of type 'org.springframework.core.convert.ConversionService' available: expected
这是因为项目父模块中的引入了spring-boot-starter-web的依赖,
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
springMvc和gateway中的webFlux是有冲突的(关于spring mvc 和 spring webFlux大家可以自行搜索区别)