Osgi 保险丝/断路器中的接线包异常

Osgi 保险丝/断路器中的接线包异常,osgi,apache-camel,fuseesb,Osgi,Apache Camel,Fuseesb,在许多项目中,我都遇到过这个例外。这一例外的原因可能是什么 据我所知,这可能是因为不一致的版本使用。其他可能的情况是什么 这是因为我们在项目中使用的驼峰版本吗?请帮助 org.osgi.framework.BundleException:bundle com.test.div.soa.module notify[324]中未解析的约束:无法解析324.0:缺少需求[324.0]osgi.willing.package;(&(osgi.willing.package=org.apache.came

在许多项目中,我都遇到过这个例外。这一例外的原因可能是什么

据我所知,这可能是因为不一致的版本使用。其他可能的情况是什么

这是因为我们在项目中使用的驼峰版本吗?请帮助

org.osgi.framework.BundleException:bundle com.test.div.soa.module notify[324]中未解析的约束:无法解析324.0:缺少需求[324.0]osgi.willing.package;(&(osgi.willing.package=org.apache.camel)(版本>=2.11.0)(!(版本>=3.0.0))) 位于org.apache.felix.framework.felix.resolveBundleRevision(felix.java:4155)[org.apache.felix.framework-4.0.3.redhat-60024.jar:] 在org.apache.felix.framework.felix.startBundle(felix.java:2055)[org.apache.felix.framework-4.0.3.redhat-60024.jar:] 在org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-60024.jar:] 位于org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1247)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024] 位于org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1219)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024] 在org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:508)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024] 在org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024]

问候
Guru

我假设您的bundle是通过将其复制到ESB的deploy目录而不是使用osgi:install命令的更合适方式安装的


无论如何,您的捆绑包需要Camel 2.11,而ESB是Camel 2.10的开箱即用。因此,请将捆绑包更改为使用ESB附带的Camel 2.10。

您的Camel版本是什么?您可以从pom中粘贴maven
依赖项
,用于骆驼依赖项吗?可以。这是骆驼版的问题。根据下面的克劳斯评论更改版本后得到解决。谢谢,太好了!我还“期待”一些骆驼2.11/2.12特性(controlBus ftw!),但我们还没有升级JBoss Fuse:)