[ https://issues.apache.org/jira/browse/CXF-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682745#comment-17682745 ]
Andriy Redko commented on CXF-8814: ----------------------------------- [~xzhao1] ah this is a bummer, I don't know how to solve that cleanly :( The first thing which comes to mind is that we need to craft the dedicated compatibility bundle (like [https://github.com/apache/cxf/blob/3.5.x-fixes/osgi/bundle/servlet-compatible/pom.xml),] not sure what else we could do here (besides hijacking Apache Felix configuration). > Could not start bundle: file:custo/cxf-rt-bindings-soap-3.3.8.jar because of > missing requirement javax.xml.soap > --------------------------------------------------------------------------------------------------------------- > > Key: CXF-8814 > URL: https://issues.apache.org/jira/browse/CXF-8814 > Project: CXF > Issue Type: Bug > Components: Integration > Reporter: XIAOMING ZHAO > Priority: Major > > Hello, > We are upgrading cxf 3.2.13 to 3.3.8 or 3.3.11, we always got the following > error in osgi felix.log, we didn't add a javax.xml.soap dependencies in > gradle file, so it's from jdk. > Would you please let me know how to resolve this error? > {code:java} > WARN - 2023-01-13 07:33:32,85 - FelixDispatchQueue - Could not start bundle: > file:custo/cxf-rt-bindings-soap-3.3.8.jar > org.osgi.framework.BundleException: Unable to resolve > org.apache.cxf.cxf-rt-bindings-soap [88](R 88.0): missing requirement > [org.apache.cxf.cxf-rt-bindings-soap [88](R 88.0)] osgi.wiring.package; > (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.cxf.cxf-rt-bindings-soap [88](R 88.0)] > osgi.wiring.package; > (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))] > at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2308) > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl$DeployedBundle.start(BundleInstallerImpl.java:935) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.startBundles(BundleInstallerImpl.java:624) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.finishInitialisation(BundleInstallerImpl.java:260) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.frameworkEvent(BundleInstallerImpl.java:244) > at > org.apache.felix.framework.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:881) > at > org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:830) > at > org.apache.felix.framework.EventDispatcher.run(EventDispatcher.java:1147) > at > org.apache.felix.framework.EventDispatcher.access$000(EventDispatcher.java:54) > at > org.apache.felix.framework.EventDispatcher$1.run(EventDispatcher.java:102) > at java.lang.Thread.run(Thread.java:750) > WARN - 2023-01-13 07:33:32,152 - FelixDispatchQueue - Could not start bundle: > file:custo/cxf-rt-frontend-jaxws-3.3.8.jar > org.osgi.framework.BundleException: Unable to resolve > org.apache.cxf.cxf-rt-frontend-jaxws [102](R 102.0): missing requirement > [org.apache.cxf.cxf-rt-frontend-jaxws [102](R 102.0)] osgi.wiring.package; > (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0))) > Unresolved requirements: [[org.apache.cxf.cxf-rt-frontend-jaxws [102](R > 102.0)] osgi.wiring.package; > (&(osgi.wiring.package=javax.xml.soap)(version>=1.3.0)(!(version>=2.0.0)))] > at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2308) > at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl$DeployedBundle.start(BundleInstallerImpl.java:935) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.startBundles(BundleInstallerImpl.java:624) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.finishInitialisation(BundleInstallerImpl.java:260) > at > com.alcatel.as.service.bundleinstaller.impl.BundleInstallerImpl.frameworkEvent(BundleInstallerImpl.java:244) > at > org.apache.felix.framework.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:881) > at > org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:830) > at > org.apache.felix.framework.EventDispatcher.run(EventDispatcher.java:1147) > at > org.apache.felix.framework.EventDispatcher.access$000(EventDispatcher.java:54) > at > org.apache.felix.framework.EventDispatcher$1.run(EventDispatcher.java:102) > at java.lang.Thread.run(Thread.java:750){code} -- This message was sent by Atlassian Jira (v8.20.10#820010)