我正在使用带有 Springboot 的 Apache Camel
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.3</version>
<dependency>
// Apache Camel
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
<version>3.11.5</version>
</dependency>
为了调试骆驼路线,我正在添加
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-debug</artifactId>
<version>3.15.0</version>
</dependency>
添加camel-debug依赖后,随机错误发生在
org.apache.camel.spi.DebuggerFactory
最常见的是:
Build step org.apache.camel.quarkus.core.deployment.CamelProcessor#factoryFinderResolver threw an exception: java.lang.NoClassDefFoundError: org/apache/camel/spi/DebuggerFactory
...
Caused by: java.lang.ClassNotFoundException: org.apache.camel.spi.DebuggerFactory
...
Caused by: java.lang.NoClassDefFoundError: org/apache/camel/spi/DebuggerFactory
...
Caused by: java.lang.ClassNotFoundException: org.apache.camel.spi.DebuggerFactory