增量版本Apache camel后出现ClassNotFoundException

egdjgwm8  于 9个月前  发布在  Apache
关注(0)|答案(1)|浏览(98)

请帮助解决这个问题。将apache camel版本从2.24.3升级到3.20.6后,出现以下错误:

java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalStateException: Unable to load cache item
    ... 36 more
Caused by: java.lang.NoClassDefFoundError: org/apache/camel/support/ServiceSupport

你能帮我解决这个问题吗?

ruoxqz4g

ruoxqz4g1#

我想这是因为你需要添加camel-support依赖。请访问https://camel.apache.org/manual/camel-3-migration-guide.html#_migrating_custom_components
通常,请花时间阅读迁移指南https://camel.apache.org/manual/migration-and-upgrade.html

相关问题