web services - Webservice issue in CQ5 - java.lang.NoClassDefFoundError: Could not initialize class com.aem.ws.Weather -


I was working on the SOAP CXF webservice. I went "" via the link given below. I have created the CXF osgi bundle and it is in active state in Felix console when I was trying to call webservice via JSP, then it is giving the error as "java.lang.NoClassDefFoundError: class com.aem. ws.Weather could not start ".

Thanks,

Rayan Parab

Look at this link and see if it helps - it looks like a similar problem:

Another thing to check is that your bundle exports a unique package name I have found that if I have two bundles which export the same package --com.aem.ws in this case - then the CQ will choose one to use on a runtime, and if the bundle is in place Such error sector is not going to class even if another bundle includes class check whether bundle exported have that ensures careful not two bundle to define the same package namespace.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -