【发布时间】:2022-10-08 00:16:32
【问题描述】:
当我将 Apache Camel 从 3.15.0 迁移到 >= 3.16.0 时,我收到以下错误:
Caused by: org.apache.camel.NoSuchEndpointException: No endpoint could be found for: camel://..., please check your classpath contains the needed Camel component jar.
我是否遗漏/忽略了从 3.16 及以后拆分的一些依赖项?
我相信这个组件是随CXF Transport 提供的?
目前正在使用的骆驼组件:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-http</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-cxf-transport</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
</dependency>
【问题讨论】:
-
你试过 maven clean 和 maven install 吗?
标签: java apache-camel cxf