Getting java.lang.ClassNotFoundException: org.apache.cxf.jaxws.spi.ProviderImpl
Hi All,
We are using CXF API 3.2.0 for accessing SOAP webservice in AEM. We have referred below URL to implement the same. We have included the necessary dependencies mentioned in this URL.
https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/ws_security/sign_enc
We are getting below exception while invoking the webservice.
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
... 219 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.apache.cxf.jaxws.spi.ProviderImpl
at org.apache.sling.commons.classloader.impl.ClassLoaderFacade.loadClass(ClassLoaderFacade.java:149)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at javax.xml.ws.spi.FactoryFinder.safeLoadClass(FactoryFinder.java:181)
at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:46)
... 228 common frames omitted
But when we checked the jar file, "cxf-rt-frontend-jaxws" got imported to the bundle. Have anyone faced similar issue?
Could any one help us in fixing this?