Java osgi初始化现有Web服务war时出错

Java osgi初始化现有Web服务war时出错,java,fuseesb,jbossfuse,Java,Fuseesb,Jbossfuse,我正在jboss fuse上部署我现有的webservice war(它在tomcat上工作)。我更改了manifest.mf,如下所示 清单版本:1.0 软件包版本:2 捆绑包名称:HelloCxfWS Bundle SymbolicName:HelloCxfWS 捆绑包版本:1.0.0.0 捆绑类路径:WEB-INF/classes/ 所需捆绑包:org.apache.cxf.cxf-Bundle 导入包:javax.jws,javax.wsdl,javax.xml.bind,javax.x

我正在jboss fuse上部署我现有的webservice war(它在tomcat上工作)。我更改了manifest.mf,如下所示

清单版本:1.0
软件包版本:2
捆绑包名称:HelloCxfWS
Bundle SymbolicName:HelloCxfWS
捆绑包版本:1.0.0.0
捆绑类路径:WEB-INF/classes/
所需捆绑包:org.apache.cxf.cxf-Bundle
导入包:javax.jws,javax.wsdl,javax.xml.bind,javax.xml.bind.annotation,javax.xml.namespace,
ws、META-INF.cxf、META-INF.cxf.osgi、,
org.apache.cxf.bus,org.apache.cxf.bus.spring,org.apache.cxf.bus.resource,
org.apache.cxf.configuration.spring,org.apache.cxf.resource,org.apache.cxf.jaxws,
org.apache.servicemix.cxf.transport.http_cxf,org.springframework.beans.factory.config,
org.apache.servicemix.cxf.transport.http_osgi
私有包:com.irk.test.ws*
DynamicImport软件包:*

但我在日志中发现以下错误

13:24:00757 | WARN | edhat-024/deploy | fileinstall | 7-org.apache.felix.fileinstall-3.3.11.redhat-60024 |启动bundle时出错:文件:/E:/jboss-fuse-6.0.0.redhat-024/deploy/HelloCxfWS.war

org.osgi.framework.BundleException:bundle HelloCxfWS[292]中未解析的约束:无法解析292.0:缺少需求[292.0]osgi.willing.package;(osgi.willing.package=org.apache.servicemix.cxf.transport.http\u cxf) 位于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.startAllBundles(DirectoryWatcher.java:1208)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024] 在org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:503)[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]
请在这方面提供帮助

关于,

应该是

需要捆绑:

而不是

所需捆绑:


捆绑包
org.apache.cxf.cxf捆绑包是否可用?

[292]:无法解决292.0:缺少需求[292.0]osgi.willing.package;(osgi.willing.package=org.apache.servicemix.cxf.transport.http\u cxf)。您没有任何捆绑包中的包,或者该捆绑包没有启动。我如何验证这一点?在jboss fuse中,默认情况下应该可用吗?请纠正我,如果我的理解是错误的我做了改变,现在得到以下错误无法解决310.0:缺少要求[310.0]osgi.willing.package;(osgi.willing.package=org.apache.cxf.transport.servlet.CXFServlet)