获取错误springboot版本2.x到3.0.5和camel版本3.14.1到3.17.0

问题描述 投票:0回答:1

`修复更改版本时出现以下错误的漏洞 CVE-2023-20860

spring-boot 版本 3.0.5

<java.version>17</java.version> <camel.version>3.17.0</camel.version> <snakeyaml.version>2.0</snakeyaml.version> Camel-cfx <version>3.17.0</version>

com.chubbio.cpngadapter.processor.SetTokenInHeaderProcessor 中的字段 ctx 需要找不到类型为“org.apache.camel.CamelContext”的 bean。

注入点有如下注解: - @org.springframework.beans.factory.annotation.Autowired(required=true)

我们更改了 pom.xml 中的依赖版本`

spring-boot apache-camel spring-camel
1个回答
0
投票

您需要使用 Apache Camel v4 来支持 Spring Boot v3。因此,如果您使用 Camel v3,请继续使用 Spring Boot v2。

© www.soinside.com 2019 - 2024. All rights reserved.