【问题标题】:No endpoint could be found for: camel://找不到端点:camel://
【发布时间】: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


【解决方案1】:

你有这个吗?

<dependency>
        <groupId>org.apache.camel</groupId>
        <artifactId>camel-jetty</artifactId>
        <version>3.19.0</version>
        <scope>test</scope>
    </dependency>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-23
    • 2020-02-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-30
    相关资源
    最近更新 更多