Hi folks, I am not sure where this belongs, SonarQube forum or here, but I am trying both places. I started getting this particular error the second I upgrade to Java 7. This may have nothing to do with CXF either.
I am making some calls via an SDK that was created via CXF and getting the following: (note: I have removed the bundle, and narrowed it down to 3 jars, the error still continues) java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_25] at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_25] at javax.xml.soap.FactoryFinder.newInstance(FactoryFinder.java:47) ~[na:1.7.0_25] at javax.xml.soap.FactoryFinder.find(FactoryFinder.java:193) ~[na:1.7.0_25] at javax.xml.soap.FactoryFinder.find(FactoryFinder.java:97) ~[na:1.7.0_25] at javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:73) ~[na:1.7.0_25] at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:145) ~[na:1.7.0_25] at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:111) ~[na:1.7.0_25] at org.apache.cxf.binding.soap.saaj.SAAJFactoryResolver.createMessageFactory(SAAJFactoryResolver.java:55) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor.getFactory(SAAJOutInterceptor.java:85) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor.handleMessage(SAAJOutInterceptor.java:121) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:123) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:52) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) ~[cxf-api-2.4.3.jar:2.4.3] at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88) ~[cxf-bundle-2.4.3.jar:2.4.3] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) ~[cxf-bundle-2.4.3.jar:2.4.3] at com.sun.proxy.$Proxy124.getApplication(Unknown Source) ~[na:na] -- View this message in context: http://cxf.547215.n5.nabble.com/Getting-a-SAAJMetaFactoryImpl-noClassDefFound-when-making-a-call-from-SonarQube-tp5741166.html Sent from the cxf-user mailing list archive at Nabble.com.
