Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jun Hong need help java.lang.NoClassDefFoundError:  RSS feed

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am getting this error unhandled exception. java.lang.NoClassDefFoundError
can help what is the problem, i need it very urgently, i will appriciate your help.
Thanks in advance
Babu
Error 500
An error has occured while processing
Message:Server caught unhandled exception from servlet [JSP 1.0 Processor]
Target Servlet: JSP 1.0 Processor
StackTrace:

Root Error-1: com/abletech/tscs/powe/cisc/Customerpkg/MainMenu_Servlet
java.lang.NoClassDefFoundError: com/abletech/tscs/powe/cisc/Customerpkg/MainMenu_Servlet java/lang/Throwable.(Ljava/lang/String V+4 (Throwable.java:81) java/beans/Beans.instantiate(Ljava/lang/ClassLoader;Ljava/lang/String Ljava/lang/Object;+131 (Beans.java:120) com/ibm/servlet/engine/webapp/WebAppServletManager.loadServlet(Ljava/lang/String V+83 (WebAppServletManager.java:53) com/ibm/servlet/engine/webapp/WebApp.addServlet(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String V+104 (WebApp.java:306) com/ibm/servlet/engine/webapp/WebAppServletRegistry.addServlet(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String V+4 (WebAppServletRegistry.java:42) com/ibm/servlet/engine/webapp/InvokerServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+636 (InvokerServlet.java:186) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+25 (HttpServlet.java:639) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+21 (ServletManager.java:599) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent V+18 6 (ServletManager.java:351) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Lcom/ibm/servlet/engine/webapp/WebAppResponse;Z)V+648 (WebApp.java:1249) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+111 (WebApp.java:1099) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+116 (WebApp.java:1049) com/sun/jsp/runtime/PageContextImpl.forward(Ljava/lang/String V+24 (PageContextImpl.java:315) violin/Powe/Cisc/production/lib/htd_00025cs/freMai_00025tenancePkg/_Customerpkg_2F_MainMenuPg_jsp_1._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl etResponse V+0 (_Customerpkg_2F_MainMenuPg_jsp_1.java:51) com/sun/jsp/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+92 (HttpJspBase.java:144) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+25 (HttpServlet.java:639) com/sun/jsp/runtime/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+22 (JspServlet.java:115) com/sun/jsp/runtime/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable V+152 (JspServlet.java:461) com/sun/jsp/runtime/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+111 (JspServlet.java:571) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+25 (HttpServlet.java:639) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+21 (ServletManager.java:599) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent V+18 6 (ServletManager.java:351) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Lcom/ibm/servlet/engine/webapp/WebAppResponse;Z)V+648 (WebApp.java:1249) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+111 (WebApp.java:1099) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+116 (WebApp.java:1049) com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object V+127 (WebGroup.java:707) com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object V+25 (CachedInvocation.java:67) com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/servlet/engine/srp/ISRPConnection V+839 (ServletRequestProcessor.java:155) com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/servlet/engine/oselistener/api/IOSEConnection V+95 (OSEListener.java:300) com/ibm/servlet/engine/oselistener/SQEventListenerImp$ServiceRunnable.run()V+155 (SQEventListenerImp.java:230) com/ibm/servlet/engine/oselistener/SQEventListenerImp.notifySQEvent(Lcom/ibm/servlet/engine/oselistener/api/ISQEvent V+184 (SQEventListenerImp.java:104) com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lcom/ibm/servlet/engine/oselistener/api/SQEventImp V+40 (SQEventSource.java:212) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.notifyService()V+116 (SQWrapperEventSource.java:353) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.run()V+124 (SQWrapperEventSource.java:220) com/ibm/servlet/engine/oselistener/outofproc/OutOfProcThread$CtlRunnable.run()V+104 (OutOfProcThread.java:248) java/lang/Thread.run()V+11 (Thread.java:466)

Wrapped Error-2: Servlet [com.abletech.tscs.powe.cisc.Customerpkg.MainMenu_Servlet]: com.abletech.tscs.powe.cisc.Customerpkg.MainMenu_Servlet was found, but is missing another required class. This error typically implies that the servlet was originally compiled with a classes which cannot be located by the server. Check your classpath to ensure that all classes required by the servlet are present. This problem can be debugged by recompiling the servlet using only the classes in the application's runtime classpath Application classpath=[/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar:/QIBM/ProdData/Java400/jdk118/lib/jdkptf118.zip:/QIBM/ProdData/Java400/jdk118/lib/classes.zip:/QIBM/ProdData/Java400/ext/I BMmisc.jar:/QIBM/ProdData/Java400/ext/db2_classes.jar:/QIBM/ProdData/Java400/ext/jssl.jar:/QIBM/ProdData/Java400/ext/ibmjssl.jar:/QIBM/ProdData/Java400/jt400ntv.jar:/QIBM/ProdData/ Java400/:/QIBM/ProdData/WebASAdv/lib/wsa400.jar:/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar:/QIBM/UserData/WebASAdv/CISC/properties:/QIBM/ProdData/WebASAdv/lib/server/ibmwebas.j ar:/QIBM/ProdData/WebASAdv/lib/servlet.jar:/QIBM/ProdData/WebASAdv/lib/webtlsrn.jar:/QIBM/ProdData/WebASAdv/lib/server/ns.jar:/QIBM/ProdData/WebASAdv/lib/ejs.jar:/QIBM/ProdData/Web ASAdv/lib/ujc.jar:/QIBM/ProdData/WebASAdv/lib/server/repository.jar:/QIBM/ProdData/WebASAdv/lib/server/admin.jar:/QIBM/ProdData/WebASAdv/lib/server/tasks.jar:/QIBM/ProdData/WebASAd v/lib/x509v1.jar:/QIBM/ProdData/WebASAdv/lib/databeans.jar:/QIBM/ProdData/WebASAdv/lib/server/ejscp.jar:/QIBM/ProdData/WebASAdv/lib/lotusxsl.jar:/QIBM/ProdData/WebASAdv/lib/xml4j.j ar:/QIBM/ProdData/WebASAdv/lib/dertrjrt.jar:/QIBM/ProdData/WebASAdv/lib/sslight.jar:/QIBM/ProdData/WebASAdv/lib/iioprt.jar:/QIBM/ProdData/WebASAdv/lib/iioptools.jar:/QIBM/ProdData/ WebASAdv/lib/deployTool.jar:/QIBM/ProdData/WebASAdv/lib/vaprt.jar:/QIBM/ProdData/WebASAdv/lib/console.jar:/QIBM/ProdData/WebASAdv/lib/server/swingall.jar:/QIBM/ProdData/WebASAdv/li b/server/ibmjndi.jar:/QIBM/ProdData/WebASAdv/lib/server/jsp10.jar:/QIBM/ProdData/WebASAdv/properties:.:/violin/Powe/Cisc/production/lib/servlets:/violin/Powe/Cisc/production/bin:/Q IBM/ProdData/HTTP/Public/jt400/lib/jt400.jar ]
javax.servlet.ServletException: Servlet [com.abletech.tscs.powe.cisc.Customerpkg.MainMenu_Servlet]: com.abletech.tscs.powe.cisc.Customerpkg.MainMenu_Servlet was found, but is missing another required class. This error typically implies that the servlet was originally compiled with a classes which cannot be located by the server. Check your classpath to ensure that all classes required by the servlet are present. This problem can be debugged by recompiling the servlet using only the classes in the application's runtime classpath Application classpath=[/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar:/QIBM/ProdData/Java400/jdk118/lib/jdkptf118.zip:/QIBM/ProdData/Java400/jdk118/lib/classes.zip:/QIBM/ProdData/Java400/ext/I BMmisc.jar:/QIBM/ProdData/Java400/ext/db2_classes.jar:/QIBM/ProdData/Java400/ext/jssl.jar:/QIBM/ProdData/Java400/ext/ibmjssl.jar:/QIBM/ProdData/Java400/jt400ntv.jar:/QIBM/ProdData/ Java400/:/QIBM/ProdData/WebASAdv/lib/wsa400.jar:/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar:/QIBM/UserData/WebASAdv/CISC/properties:/QIBM/ProdData/WebASAdv/lib/server/ibmwebas.j ar:/QIBM/ProdData/WebASAdv/lib/servlet.jar:/QIBM/ProdData/WebASAdv/lib/webtlsrn.jar:/QIBM/ProdData/WebASAdv/lib/server/ns.jar:/QIBM/ProdData/WebASAdv/lib/ejs.jar:/QIBM/ProdData/Web ASAdv/lib/ujc.jar:/QIBM/ProdData/WebASAdv/lib/server/repository.jar:/QIBM/ProdData/WebASAdv/lib/server/admin.jar:/QIBM/ProdData/WebASAdv/lib/server/tasks.jar:/QIBM/ProdData/WebASAd v/lib/x509v1.jar:/QIBM/ProdData/WebASAdv/lib/databeans.jar:/QIBM/ProdData/WebASAdv/lib/server/ejscp.jar:/QIBM/ProdData/WebASAdv/lib/lotusxsl.jar:/QIBM/ProdData/WebASAdv/lib/xml4j.j ar:/QIBM/ProdData/WebASAdv/lib/dertrjrt.jar:/QIBM/ProdData/WebASAdv/lib/sslight.jar:/QIBM/ProdData/WebASAdv/lib/iioprt.jar:/QIBM/ProdData/WebASAdv/lib/iioptools.jar:/QIBM/ProdData/ WebASAdv/lib/deployTool.jar:/QIBM/ProdData/WebASAdv/lib/vaprt.jar:/QIBM/ProdData/WebASAdv/lib/console.jar:/QIBM/ProdData/WebASAdv/lib/server/swingall.jar:/QIBM/ProdData/WebASAdv/li b/server/ibmjndi.jar:/QIBM/ProdData/WebASAdv/lib/server/jsp10.jar:/QIBM/ProdData/WebASAdv/properties:.:/violin/Powe/Cisc/production/lib/servlets:/violin/Powe/Cisc/production/bin:/Q IBM/ProdData/HTTP/Public/jt400/lib/jt400.jar ] java/lang/Throwable.(Ljava/lang/String V+4 (Throwable.java:81) javax/servlet/ServletException.(Ljava/lang/String;Ljava/lang/Throwable V+1 (ServletException.java:61) com/ibm/servlet/engine/webapp/WebAppServletManager.loadServlet(Ljava/lang/String V+282 (WebAppServletManager.java:66) com/ibm/servlet/engine/webapp/WebApp.addServlet(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String V+104 (WebApp.java:306) com/ibm/servlet/engine/webapp/WebAppServletRegistry.addServlet(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String V+4 (WebAppServletRegistry.java:42) com/ibm/servlet/engine/webapp/InvokerServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+636 (InvokerServlet.java:186) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+25 (HttpServlet.java:639) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+21 (ServletManager.java:599) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent V+18 6 (ServletManager.java:351) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Lcom/ibm/servlet/engine/webapp/WebAppResponse;Z)V+648 (WebApp.java:1249) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+111 (WebApp.java:1099) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+116 (WebApp.java:1049) com/sun/jsp/runtime/PageContextImpl.forward(Ljava/lang/String V+24 (PageContextImpl.java:315) violin/Powe/Cisc/production/lib/htd_00025cs/freMai_00025tenancePkg/_Customerpkg_2F_MainMenuPg_jsp_1._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl etResponse V+0 (_Customerpkg_2F_MainMenuPg_jsp_1.java:51) com/sun/jsp/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+92 (HttpJspBase.java:144) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+25 (HttpServlet.java:639) com/sun/jsp/runtime/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+22 (JspServlet.java:115) com/sun/jsp/runtime/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable V+152 (JspServlet.java:461) com/sun/jsp/runtime/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse V+111 (JspServlet.java:571) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+25 (HttpServlet.java:639) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+21 (ServletManager.java:599) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent V+18 6 (ServletManager.java:351) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Lcom/ibm/servlet/engine/webapp/WebAppResponse;Z)V+648 (WebApp.java:1249) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+111 (WebApp.java:1099) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse V+116 (WebApp.java:1049) com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object V+127 (WebGroup.java:707) com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object V+25 (CachedInvocation.java:67) com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/servlet/engine/srp/ISRPConnection V+839 (ServletRequestProcessor.java:155) com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/servlet/engine/oselistener/api/IOSEConnection V+95 (OSEListener.java:300) com/ibm/servlet/engine/oselistener/SQEventListenerImp$ServiceRunnable.run()V+155 (SQEventListenerImp.java:230) com/ibm/servlet/engine/oselistener/SQEventListenerImp.notifySQEvent(Lcom/ibm/servlet/engine/oselistener/api/ISQEvent V+184 (SQEventListenerImp.java:104) com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lcom/ibm/servlet/engine/oselistener/api/SQEventImp V+40 (SQEventSource.java:212) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.notifyService()V+116 (SQWrapperEventSource.java:353) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.run()V+124 (SQWrapperEventSource.java:220) com/ibm/servlet/engine/oselistener/outofproc/OutOfProcThread$CtlRunnable.run()V+104 (OutOfProcThread.java:248) java/lang/Thread.run()V+11 (Thread.java:466)
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
If you are using 4.0, here is my answer:
The problem is related to jar or classpath or servlet class file. First put all the classes used by your servlet in a jar and specify the jar in your classpath. In AAT under web Modules click the module which has the servlet, and click the General tab then you will find classpath. (Use Help or F1) Specify the your jar there. Everything there is relative to root. Under Web Modules, go to Files, class File is the place where you can put your servlet classes. Jar is the place your specify jars.
Deploy it on application server again.
If you are using 3.5 which is very likely(JSP 1.0), I don't know. I used it before but I forgot the details. The nature of the problem is similar.
Jun Hong
[This message has been edited by Jun Hong (edited December 21, 2001).]
 
info babu
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using 3.02.4
thank you
Babu

Originally posted by Jun Hong:
Hi there,
If you are using 4.0, here is my answer:
The problem is related to jar or classpath or servlet class file. First put all the classes used by your servlet in a jar and specify the jar in your classpath. In AAT under web Modules click the module which has the servlet, and click the General tab then you will find classpath. (Use Help or F1) Specify the your jar there. Everything there is relative to root. Under Web Modules, go to Files, class File is the place where you can put your servlet classes. Jar is the place your specify jars.
Deploy it on application server again.
If you are using 3.5 which is very likely(JSP 1.0), I don't know. I used it before but I forgot the details. The nature of the problem is similar.
Jun Hong
[This message has been edited by Jun Hong (edited December 21, 2001).]


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!