我正在尝试在 karaf 中运行一个 cxf 包。它说缺少包 org.apache.ws.commons.schema 但已安装了相应的包(servicemix 包)
如果捆绑 785 (xmlschema) 被激活,我不知道为什么依赖关系没有解决。我需要包含其他内容还是有某种配置问题?
OSGi>features:install idb
Refreshing bundles org.springframework.jms (104)
Error executing command: Could not start bundle
mvn:org.apache.cxf/cxf-bundle-minimal/2.2.9 in feature(s)
cxf-bundle-minimal-2.6.0: Unresolved constraint in bundle
org.apache.cxf.bundle-minimal [832]: Unable to resolve 832.0:
missing requirement [832.0] package;
(&(package=org.apache.ws.commons.schema)(version>=1.4.0)(!(version>=2.0.0)))
OSGi>osgi:info 785
Apache ServiceMix Bundles: xmlschema-1.4.3 (785)
------------------------------------------------
OSGi>osgi:headers 785
Apache ServiceMix Bundles: xmlschema-1.4.3 (785)
------------------------------------------------
Manifest-Version = 1.0
Bnd-LastModified = 1237594240914
Tool = Bnd-0.0.255
Built-By = gnodet
Build-Jdk = 1.5.0_16
Created-By = Apache Maven Bundle Plugin
Bundle-Vendor = The Apache Software Foundation
Bundle-Name = Apache ServiceMix Bundles: xmlschema-1.4.3
Bundle-DocURL = http://www.apache.org/
Bundle-Description = This bundle simply wraps xmlschema-1.4.3.jar.
Bundle-SymbolicName = org.apache.servicemix.bundles.xmlschema
Bundle-Version = 1.4.3.1
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion = 2
Import-Package =
javax.xml.namespace,
javax.xml.parsers,
javax.xml.transform,
javax.xml.transform.dom,
javax.xml.transform.sax,
javax.xml.transform.stream,
org.apache.ws.commons.schema;version=1.4.3,
org.apache.ws.commons.schema.constants;version=1.4.3,
org.apache.ws.commons.schema.extensions;version=1.4.3,
org.apache.ws.commons.schema.resolver;version=1.4.3,
org.apache.ws.commons.schema.utils;version=1.4.3,
org.w3c.dom,
org.xml.sax
Export-Package =
org.apache.ws.commons.schema.resolver;uses:=org.xml.sax;version=1.4.3,
org.apache.ws.commons.schema.utils;
uses:="org.apache.ws.commons.schema,
javax.xml.namespace,
org.w3c.dom";
version=1.4.3,
org.apache.ws.commons.schema;
uses:="org.xml.sax,
javax.xml.namespace,
org.w3c.dom,
javax.xml.transform,
org.apache.ws.commons.schema.extensions,
javax.xml.transform.dom,
javax.xml.transform.sax,
org.apache.ws.commons.schema.resolver,
org.apache.ws.commons.schema.utils,
javax.xml.parsers,
org.apache.ws.commons.schema.constants,
javax.xml.transform.stream";
version=1.4.3,
org.apache.ws.commons.schema.constants;
uses:=javax.xml.namespace;
version=1.4.3,
org.apache.ws.commons.schema.extensions;
uses:="org.apache.ws.commons.schema,
javax.xml.namespace,
org.w3c.dom";
version=1.4.3