I am using WSAD 5.1.1 in windows environament. I have a stateless sessionbean having textFileCreator() method in EJBProject that uses a java class ELUWS14 having a method eluws14() which returns a HashMap. This class is in WebProject. I am getting the following error while invoking the Stateless Session bean.
Could any One help me.
Advance thanks.
[9/6/06 12:42:08:500 IST] 5145b290 ExceptionUtil E CNTR0020E: Non-application exception occurred while processing method "txtFileCreator" on bean "BeanId(DefaultEAR#ProtoMVC2EJB.jar#XMLDomReader, null)". Exception data: java.lang.NoClassDefFoundError: com/sound/delegator/service/message/ELUWS14 at com.sound.bean.XMLDomReader.txtFileCreator(XMLDomR eader.java:75) at com.sound.bean.EJSRemoteStatelessXMLDomReader_ac07 dc27.txtFileCreator(EJSRemoteStatelessXMLDomReader _ac07dc27.java:22) at com.sound.bean._XMLDomReaderRemote_Stub.txtFileCre ator(_XMLDomReaderRemote_Stub.java:255) at com.sound.delegator.service.message.MessageRequest orDelegator.load(MessageRequestorDelegator.java:18 2) at com.sound.delegator.service.message.MessageRequest orDelegator.process(MessageRequestorDelegator.java :106) at com.sound.controller.TaskController.executeTask(Ta skController.java:108) at com.sound.controller.SDRControlServlet.performTask (SDRControlServlet.java:143) at com.sound.controller.SDRControlServlet.doPost(SDRC ontrolServlet.java:83) at javax.servlet.http.HttpServlet.service(HttpServlet .java:760) at javax.servlet.http.HttpServlet.service(HttpServlet .java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInsta nce.doService(StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet._service(StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.s ervice(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet.service(StrictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.se rvice(ServletInstance.java:283) at com.ibm.ws.webcontainer.servlet.ValidServletRefere nceState.dispatch(ValidServletReferenceState.java: 42) at com.ibm.ws.webcontainer.servlet.ServletInstanceRef erence.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:974) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276) at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618) at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:593)
"java.lang.NoClassDefFoundError" That means that a class could not be found.
In this case it's the class "com/sound/delegator/service/message/ELUWS14"
If you called the class by it's name (using a String) you should replace "/" with "." in your sourcecode. I could also be wrong, it's a while since I encountered this error.
Also make sure that the path to the jar file containing this class is in included your classpath variable.