请帮助解决这个问题。将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
你能帮我解决这个问题吗?
1条答案
按热度按时间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