骆驼兼容性问题
Camel Compatibility issues
我在我的 Maven 项目中使用了以下 camel 包:
骆驼核
骆驼jms
骆驼jaxb
驼色石英
骆驼绑定
骆驼-ftp
当所有这些都使用 2.8.0 版时,我的服务器启动正常,应用程序运行正常。但是,如果我将 camel 版本更新到更高的版本,如 2.10.0,那么我在启动时会遇到以下异常,并且不确定是哪一个导致了这个问题:
Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because of: Cannot find any type converter classes from the following packages: [org.apache.camel.component.file.remote]
任何帮助将不胜感激?
可能您项目的另一个库正在使用不同版本的 camel。
你可以用这个maven命令检查你项目的camel依赖树:
mvn dependency:tree -Dverbose -Dincludes=camel-core
在详细模式下,依赖关系树显示因与另一个重复、与另一个版本 and/or 范围冲突以及在依赖关系树中引入循环而被忽略的依赖关系。
以下是一些参考链接:
https://maven.apache.org/plugins/maven-dependency-plugin/examples/filtering-the-dependency-tree.html
我在我的 Maven 项目中使用了以下 camel 包:
骆驼核 骆驼jms 骆驼jaxb 驼色石英 骆驼绑定 骆驼-ftp
当所有这些都使用 2.8.0 版时,我的服务器启动正常,应用程序运行正常。但是,如果我将 camel 版本更新到更高的版本,如 2.10.0,那么我在启动时会遇到以下异常,并且不确定是哪一个导致了这个问题:
Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because of: Cannot find any type converter classes from the following packages: [org.apache.camel.component.file.remote]
任何帮助将不胜感激?
可能您项目的另一个库正在使用不同版本的 camel。
你可以用这个maven命令检查你项目的camel依赖树:
mvn dependency:tree -Dverbose -Dincludes=camel-core
在详细模式下,依赖关系树显示因与另一个重复、与另一个版本 and/or 范围冲突以及在依赖关系树中引入循环而被忽略的依赖关系。
以下是一些参考链接:
https://maven.apache.org/plugins/maven-dependency-plugin/examples/filtering-the-dependency-tree.html