Spring Framework是Java平台上应用程序开发的开源框架。其核心是对基于组件的体系结构的丰富支持,目前它拥有20多个高度集成的模块。
org.springframework.boot:spring-boot-starter-webflux:3.4.2具有不同版本的io.netty
我有两个都具有Maven依赖性的项目: org.springframework.boot Spring-boot-starter-Parent 我有两个都具有Maven依赖性的项目: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.4.2</version> <relativePath/> </parent> ... <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId> </dependency> 在我的小依赖树中,它们都显示了: org.springframework.boot:spring-boot-starter-reactor-netty:3.4.2 - > io.projectReactor.netty:反应堆netty-http:1.2.2 但是一个项目具有此io.netty: io.netty:netty-codec-http:4.1.115.final 另一个项目具有正确的版本: io.netty:netty-codec-http:4.1.117.final 我已经尝试了我能找到的一切,以找出为什么我的第一个项目具有115.最终功能,而另一个项目则获得117.final.。 I使用Spring Initializr创建了一个全新的项目,并添加了Spring Cloud和Webflux,并且也下载了117. -Final. 我使用Intellij 2024.3.2.1(社区版),我尝试使缓存无效,但它行不通。我尝试使用Maven Enforcer插件,但没有任何冲突。 my settings.xml在所有3个项目中都相同,我已经将Maven存储库位置覆盖到单独的文件夹中,否则,来源是我公司的Jfrog Repo。 我已经删除了所有项目的整个存储库,并下载了所有罐子的新副本。 我真的不知道这一点我还能做什么。我希望我的项目使用117. -final(或父型POM中的任何内容)。 the是项目“ 1”的Maven依赖树的片段: [INFO] +- org.springframework.boot:spring-boot-starter-webflux:jar:3.4.2:compile [INFO] | +- (org.springframework.boot:spring-boot-starter:jar:3.4.2:compile - version managed from 3.4.2; omitted for duplicate) [INFO] | +- (org.springframework.boot:spring-boot-starter-json:jar:3.4.2:compile - version managed from 3.4.2; omitted for duplicate) [INFO] | +- org.springframework.boot:spring-boot-starter-reactor-netty:jar:3.4.2:compile (version managed from 3.4.2) [INFO] | | \- io.projectreactor.netty:reactor-netty-http:jar:1.2.2:compile (version managed from 1.2.2) [INFO] | | +- io.netty:netty-codec-http:jar:4.1.115.Final:compile (version managed from 4.1.116.Final) [INFO] | | | +- io.netty:netty-common:jar:4.1.115.Final:compile (version managed from 4.1.115.Final) [INFO] | | | +- io.netty:netty-buffer:jar:4.1.115.Final:compile (version managed from 4.1.115.Final) [INFO] | | | | \- (io.netty:netty-common:jar:4.1.115.Final:compile - version managed from 4.1.115.Final; omitted for duplicate) [INFO] | | | +- io.netty:netty-transport:jar:4.1.115.Final:compile (version managed from 4.1.115.Final) [INFO] | | | | +- (io.netty:netty-common:jar:4.1.115.Final:compile - version managed from 4.1.115.Final; omitted for duplicate) [INFO] | | | | +- (io.netty:netty-buffer:jar:4.1.115.Final:compile - version managed from 4.1.115.Final; omitted for duplicate) [INFO] | | | | \- (io.netty:netty-resolver:jar:4.1.115.Final:compile - version managed from 4.1.115.Final; omitted for duplicate) [INFO] | | | +- io.netty:netty-codec:jar:4.1.115.Final:compile (version managed from 4.1.115.Final) [INFO] | | | | +- (io.netty:netty-common:jar:4.1.115.Final:compile - version managed from 4.1.115.Final; omitted for duplicate) [INFO] | | | | +- (io.netty:netty-buffer:jar:4.1.115.Final:compile - version managed from 4.1.115.Final; omitted for duplicate) [INFO] | | | | \- (io.netty:netty-transport:jar:4.1.115.Final:compile - version managed from 4.1.115.Final; omitted for duplicate) 这里是项目“ 2”项目的片段 [INFO] +- org.springframework.boot:spring-boot-starter-webflux:jar:3.4.2:compile [INFO] | +- (org.springframework.boot:spring-boot-starter:jar:3.4.2:compile - version managed from 3.4.2; omitted for duplicate) [INFO] | +- (org.springframework.boot:spring-boot-starter-json:jar:3.4.2:compile - version managed from 3.4.2; omitted for duplicate) [INFO] | +- org.springframework.boot:spring-boot-starter-reactor-netty:jar:3.4.2:compile (version managed from 3.4.2) [INFO] | | \- io.projectreactor.netty:reactor-netty-http:jar:1.2.2:compile (version managed from 1.2.2) [INFO] | | +- io.netty:netty-codec-http:jar:4.1.117.Final:compile (version managed from 4.1.116.Final) [INFO] | | | +- io.netty:netty-common:jar:4.1.117.Final:compile (version managed from 4.1.117.Final) [INFO] | | | +- io.netty:netty-buffer:jar:4.1.117.Final:compile (version managed from 4.1.117.Final) [INFO] | | | | \- (io.netty:netty-common:jar:4.1.117.Final:compile - version managed from 4.1.117.Final; omitted for duplicate) [INFO] | | | +- io.netty:netty-transport:jar:4.1.117.Final:compile (version managed from 4.1.117.Final) [INFO] | | | | +- (io.netty:netty-common:jar:4.1.117.Final:compile - version managed from 4.1.117.Final; omitted for duplicate) [INFO] | | | | +- (io.netty:netty-buffer:jar:4.1.117.Final:compile - version managed from 4.1.117.Final; omitted for duplicate) [INFO] | | | | \- (io.netty:netty-resolver:jar:4.1.117.Final:compile - version managed from 4.1.117.Final; omitted for duplicate) [INFO] | | | +- io.netty:netty-codec:jar:4.1.117.Final:compile (version managed from 4.1.117.Final) 这些地方是io.netty出现的唯一地方。项目中没有其他依赖性显示IO.Netty,因此我不知道哪种依赖性将其排除在解决问题上。 我们有一个azure ci/cd管道,它在建造一个而与另一个构建时将其拉动4.1.115。因此,我倾向于相信这不是Intellij问题。 我有什么办法可以绕过所有正常的依赖树,并强迫它告诉我115.最终的来自哪里? eDit:我发现了在项目1中更改版本的内容。 <dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-spring-boot-dependencies</artifactId> <version>4.9.0</version> <type>pom</type> <scope>import</scope> </dependency> 我正在使用Apache Camel Springboot Starter,我需要这种依赖性,并且在POM的依赖性管理部分中,它比其他依赖关系优先。我已经将其移至依赖项部分,我将尝试一下。我试图将所有Netty软件包从此导入中排除,但它不起作用。我仍然不知道为什么它不在我的依赖树中(我想是因为它是pom而不是罐子?)。 根据Mvnrepository的审计,您必须使用新版本的Apache Camel(4.10.0):Https://mvnrepository.com/artifact/org.apache.camel.camel.springboot/camel-spring-spring-boot-boot-boot-deppedendependencies/4.10。 0,如果您查找IT的依赖性Camel-netty 4.10.0(Https://mvnrepository.com/artifact/org.apache.camel/camel/camel-netty/4.10.0,),您会看到您需要的Netty的新依赖性使用精确版本:4.1.117.
@值未在一个特定类中设置 我很确定我是某种白痴,但是对于我的一生,我看不到它。 我有一个较大的Spring Boot 2.1应用程序,该应用程序广泛使用@Value Anno的属性注入...
我知道问题本身不与之相关,因为某些相同的值只是将罚款恰好注入其他对象。但是我只是看不到这个物体有什么问题,并感谢您的眼球。
<? extends Throwable>我可以在视觉上看到单声道(可投掷)和mono.error(供应商
我可以在视觉上看到Mono.error(Throwable throwable)
我理解例外,但是我试图弄清楚在我的哪里可以调整这个例外。我在那里设置了
在这里第一个问题(这意味着我真的被卡住了:'D)! 我想实现对几种对象的抑制,并在控制器中处理可能发生的不同错误。我叫
如何用两个不同类的对象过滤列表,然后按字段进行比较? 我有两个不同的列表。我想通过其他列表中的字段查找和过滤。例如。 列表
我有两个不同的列表。我想通过其他列表中的字段查找和过滤。例如 List<ObjectOne> List<ObjectTwo> field | value field | value {id=5, name="aaa"} {xId=4, text="aaa"} {id=6, name="bbb"} {xId=6, text="bbb"} {id=7, name="ccc"} {xId=5, text="ccc"}
我有两个不同的列表。我想通过其他列表中的字段查找和过滤。例如。 列表列表 字段|值字段|价值 {id = 5,name =&qu ...
WebclientExchangeFilterFunctionJunit
我如何获得ClientResponseRorservice.genericClientFilter的代码覆盖? @postConstruct public void init()抛出sslexception { sslContext sslContext = sslContextBuilder.forclient()。
我正在尝试创建一个全局的网络电视重试滤波器,并试图通过Mockito进行单位测试。该过滤器是ExchangeFilterFarter的实现。我正在使用提出的技术
在statup处发现速度错误“ vm_global_library.vm”
resourcemanager:在任何资源加载程序中都无法找到资源'vm_global_library.vm'
如何使用访问令牌在Java中获得Microsoft GraphServiceClient
创建GraphServiceClient