spring - spring框架和webflux版本不兼容
问题描述
我有一个旧版本的 spring-framework 项目。弹簧框架版本是3.1.1.RELEASE
. 我需要导入 webflux 但版本不兼容,所以如果我在 pom.xml 中添加这些代码:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webflux</artifactId>
<version>${spring.version}</version>
</dependency>
不起作用,因为 spring-webflux:3.1.1.RELEASE 未在 maven repo 中发布。我怎么解决这个问题?
谢谢,
解决方案
它是在 Spring 5 中添加的。恐怕您需要更新到 Spring 5。
推荐阅读
- .net-assembly - 带有 Castle 动态代理和 Roslyn 的 AssemblyLoadContext
- java - 从java中的php解析字符串
- android - glide 和 picasso 无法通过 url 加载图片
- slider - 如何在 Bokeh Slider 小部件中显示文本
- javascript - 如何禁用没有 id 的单选按钮并使用角度渲染2
- java - Spring Boot - 多个数据源 - hbm2ddl 问题
- reactjs - 如何防止 JSX 代码在 vs 代码中变成一团糟?
- reactjs - react-native-webview 给出 RNCWebview 错误
- html - Boostrap 日期选择器样式被 CSS 表格样式覆盖
- c++ - 如果没有带有函数签名的右值参数,C++ 11 中的 Move Semantic 会被执行吗?