spirng,springboot更新依赖版本方法缺少


<dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-framework-bom</artifactId>
                <version>5.3.26</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

更新了spring版本依赖,ReactorServerHttpRequest 里面方法丢失报错

img

解决了。

<dependency>
                <groupId>io.projectreactor</groupId>
                <artifactId>reactor-bom</artifactId>
                <version>2022.0.5</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

加上以上依赖 更新 reactor-netty-http 依赖包

有可能是版本太高了 兄弟 你可以尝试降低版本试下