Hello , i'm working on a migration from java8 to java11 and karaf version from 4.0.5 to 4.2.7. when i try to install a bundle which contains a soap service i had this error : Caused by: javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found at javax.xml.ws.spi.FactoryFinder$1.createException(FactoryFinder.java:61) ~[?:?] at javax.xml.ws.spi.FactoryFinder$1.createException(FactoryFinder.java:58) ~[?:?] at javax.xml.ws.spi.ServiceLoaderUtil.newInstance(ServiceLoaderUtil.java:103) ~[?:?] at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:112) ~[?:?] at javax.xml.ws.spi.Provider.provider(Provider.java:96) ~[?:?] at javax.xml.ws.Service.<init>(Service.java:112) ~[?:?] at fr.asipsante.psig.service.signalement.PSIGSignalement.<init>(PSIGSignalement.java:39) ~[?:?] at fr.gouv.sante.sivss.psig.service.PsigSignalementWebService.createPSIGSignalementWebService(PsigSignalementWebService.java:68) ~[?:?]
I know that the module java.xml.ws has been removed from jdk 11, i tried to install jaxws-rt 2.3.3-b01 but without success (specially that it needs a lot of dependencies, and some of those couldn't be installed). this is my features.xml file : <repository>mvn:org.apache.activemq/activemq-karaf/${activemq-version}/xml/features</repository> <repository>mvn:org.apache.camel.karaf/apache-camel/${camel-version}/xml/features</repository> <repository>mvn:org.apache.cxf.karaf/apache-cxf/${cxf-version}/xml/features</repository> <repository>mvn:fr.gouv.sante.sivss/fr.gouv.sante.sivss.support/${project.version}/xml/features</repository> <feature name="${project.artifactId}" version="${project.version}"> <configfile finalname="/etc/${project.artifactId}.cfg"> mvn:${project.groupId}/${project.artifactId}/${project.version}/cfg</configfile> <feature version="${activemq-version}">activemq-broker-noweb</feature> <feature version="${activemq-version}">activemq</feature> <feature version="${camel-version}">camel</feature> <feature version="${camel-version}">camel-jms</feature> <feature version="${camel-version}">camel-quartz2</feature> <feature version="${camel-version}">camel-blueprint</feature> <feature version="${camel-version}">camel-metrics</feature> <feature version="${camel-version}">camel-jackson</feature> <feature version="${camel-version}">camel-jaxb</feature> <feature version="${camel-version}">camel-velocity</feature> <feature version="${camel-version}">camel-mail</feature> <feature version="${cxf-version}">cxf-jaxws</feature> <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle> <feature version="${project.version}">fr.gouv.sante.sivss.support</feature> <bundle>mvn:fr.gouv.sante.sivss/fr.gouv.sante.sivss.psig/${project.version}</bundle> </feature> i also tried to set the provider on karaf-wrapper.conf by adding : wrapper.java.additional.13=-Djavax.xml.ws.spi.Provider=org.apache.cxf.jaxws.spi.ProviderImpl but same problem it doesn't find org.apache.cxf.jaxws.spi.ProviderImpl. Have you please and idea about this problem and how can i resolve it ? Regards Anas -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html