Error 500: java.lang.NoClassDefFoundError

I'm trying to setup a web app and I opened up it's index.faces page on internet explorer, but it's giving me this huge error message on the page instead:
Error 500: java.lang.NoClassDefFoundError: Error while defining class: <Class 1> This error indicates that the class: <Class 2> could not be located while defining the class: <Class 1> This is often caused by having the class at a higher point in the classloader hierarchy Dumping the current context classloader hierarchy: ==> indicates defining classloader *** indicates classloader where the missing class could have been found ***[0] com.ibm.ws.classloader.CompoundClassLoader@6a6cfd0b Local ClassPath: /mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/classes:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/commons-collections.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/icu4j_3_4_1.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/wsac_taglib_210.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/commons-beanutils.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/commons-logging.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/commons-digester.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/wsf_core.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/wsf_persistence.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/struts.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/jsf-ibm.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war/WEB-INF/lib/wsf_util.jar:/mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_WEB.war Delegation Mode: PARENT_FIRST ==>[1] com.ibm.ws.classloader.JarClassLoader@1784790283 Local Classpath: /mp/app/WebSphere6/AppServer/profiles/TestProfile01/installedApps/TestCell/ClarityPasswordResetEAR.ear/ClarityPasswordReset_BO.jar:/mp/app/WebSphere6/Custom-Libs/WSF_supplement/wscommon.jar Delegation mode: PARENT_FIRST [2] com.ibm.ws.classloader.ProtectionClassLoader@6e37bd08 [3] com.ibm.ws.bootstrap.ExtClassLoader@7d213d09 [4] sun.misc.Launcher$AppClassLoader@7dc43d09 [5] sun.misc.Launcher$ExtClassLoader@7dc03d09 ---Original exception--- java.lang.NoClassDefFoundError: <Class 2> at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code)) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at java.beans.Beans.instantiate(Beans.java:202) at java.beans.Beans.instantiate(Beans.java:63) at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:204) at com.sun.faces.application.ApplicationImpl.createAndMaybeStoreManagedBeans(ApplicationImpl.java:913) at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:84) at com.ibm.faces.databind.SelectItemsVarResolver.resolveVariable(SelectItemsVarResolver.java:38) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125) at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:156) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:137) at javax.faces.component.UIOutput.getValue(UIOutput.java:147) at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:84) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:204) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:171) at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeEnd(DefaultAjaxRenderer.java:83) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:762) at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:604) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:527) at com.sun.faces.taglib.html_basic.InputTextTag.doEndTag(InputTextTag.java:673) at com.ibm._jsp._passwordreset._jspx_meth_h_inputText_0(_passwordreset.java:133) at com.ibm._jsp._passwordreset._jspx_meth_h_form_0(_passwordreset.java:199) at com.ibm._jsp._passwordreset._jspx_meth_hx_scriptCollector_0(_passwordreset.java:227) at com.ibm._jsp._passwordreset._jspx_meth_f_view_0(_passwordreset.java:255) at com.ibm._jsp._passwordreset._jspService(_passwordreset.java:85) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1284) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:674) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:178) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:334) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:325) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:254) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1284) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:674) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3004) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) --- end Original exception----
Any Help will be appreciated. Thank you.

sounds like your deployment isn't right - either your classpath isn't set correctly or you haven't included all the classes necessary in your deployment - or if this was working but now it's not then perhaps you removed something?

Similar Messages

  • Error 500 Java.Lang.Null.Pointer Exception

    Please help me:
    I have problem with starting my portlet under portal.
    Provider is registred correctly ,portlet is added corectly on
    Portal Page ,but when I test my page I have :
    The Listener Returned the folowing message-
    Error 500 Java.Lang.Null.Pointer Exception
    Note:Portlet is compiled in JDeveloper 2.0 and there look Ok.
    Thanks

    we encountered the same error on aix4.3.3. in fact the error comes from a variable, that has not been initialized, jserv error log says the following:
    [07/11/2001 10:00:54:098 GMT+00:00] esvportal/init
    [07/11/2001 10:01:08:668 GMT+00:00] esvportal/Response status: 500 : java.lang.NullPointerException
         at oracle.portal.provider.v1.http.ServletProviderRequest.getAcceptLanguage(ServletProviderRequest.java:162)
         at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(ServletProviderResponse.java:521)
         at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.java:662)
         at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:391)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:402)
         at org.apache.jserv.JServConnection.run(JServConnection.java:260)
         at java.lang.Thread.run(Thread.java:481)
    i habe a public page with 4 jsp portlets and one pl/sql portlet. the plsql ist working, every one of the jsp portlets gets the "getAcceptLanguage" error

  • ChiliBean Control error '800a03e8'  java.lang.NoClassDefFoundError

    hi all,
    http://forum.java.sun.com/thread.jspa?forumID=759&threadID=5019680
    in reference to the post above, i have a Win2003 server running Sun ONE with Chilisoft ASP plug-in. i did the suggestions there but am still getting the same error, to be exact:
    ChiliBean Control error '800a03e8'
    java.lang.NoClassDefFoundError: MyHelloWorld
    /myhelloworld.asp, line 3
    <html>
        <% Dim mhw, mhwString, mwh1
    REM    Set mhw = NewJavaObject("MyHelloWorld")
           Set mhw = Server.CreateObject("Chili.Beans")
           Set mhw1 = mhw.Construct("MyHelloWorld")
           Set mhwString = mhw1.myString
           Response.Write(mhwString)
        %>
    </html>
    public class MyHelloWorld {
         public String myString = "Hello World!";
    }hope you could help me out.
    thanks in advance :D

    hi all,
    http://forum.java.sun.com/thread.jspa?forumID=759&threadID=5019680
    in reference to the post above, i have a Win2003 server running Sun ONE with Chilisoft ASP plug-in. i did the suggestions there but am still getting the same error, to be exact:
    ChiliBean Control error '800a03e8'
    java.lang.NoClassDefFoundError: MyHelloWorld
    /myhelloworld.asp, line 3
    <html>
        <% Dim mhw, mhwString, mwh1
    REM    Set mhw = NewJavaObject("MyHelloWorld")
           Set mhw = Server.CreateObject("Chili.Beans")
           Set mhw1 = mhw.Construct("MyHelloWorld")
           Set mhwString = mhw1.myString
           Response.Write(mhwString)
        %>
    </html>
    public class MyHelloWorld {
         public String myString = "Hello World!";
    }hope you could help me out.
    thanks in advance :D

  • MiniSAP installation error : "main" java.lang.noclassdeffounderror

    I am sorry for opening a new thread that might be already somewhere resolved (didnt find it).
    During instalation of miniSAP I still have error "main" java.lang.noclassdeffounderror ... I have installed j2re1.4.2_08, even system variables are set to C:\Program Files\Java\j2re1.4.2_08\bin ... but the problem is still there ...
    Any advice? Thank you very much for any help
    (Happy Christmas)

    Hello,
    thank you for your help... but during installation I still have one problem during "import ABAP" phase i have this sort of error >
    Last error reported by the step :Program 'Migration Monitor' exits with error code 1. For details see log file(s) import_monitor.java.log, import_monitor.log
    Do you have any idea how to solve this problem .
    Thank you very much
    Marek

  • Error Msg: java.lang.NoClassDefFoundError:

    I keep getting this error msg whenever I try to access my web application. Things were working fine till lately. Please help.The error msg is:
    java.lang.NoClassDefFoundError: org/apache/commons/el/ExpressionEvaluatorImpl
         at org.apache.jasper.compiler.JspUtil.<clinit>(JspUtil.java:61)
         at org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:293)
         at org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:429)
         at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:506)
         at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:470)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:505)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

    Hi,
    I am developing a normal web application and getting an error at the time of running the application, the error is like this
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NoClassDefFoundError
         org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:327)
         org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:477)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:362)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:315)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.4 logs.

  • Error message: java.lang.NoClassDefFoundError: netg/InterNETg

    java.lang.NoClassDefFoundError: netg/InterNETg
    Could you tell me what to do about the above error message please. I am using Java 2 v 1.4.0_01.
    e-mail [email protected]

    What command did you type prior to getting this message? I'm assuming it appeared when you typed java netg.InterNETg....
    It sounds like the java run time is looking for a class called InterNETg, but can't find it. Could be your classpath isn't set, or you've changed into the directory containing the .class file for InterNETg, but tried to execute it without specifiying the full class path.

  • Help with error  "main" java.lang.NoClassDefFoundError:

    I am pretty new to Java and I just install the JDK1.4.2 03
    I am getting an error when I run the class file TestChart.class with the
    java.exe:
    Exception in thread "main" java.lang.NoClassDefFoundError:
    I have several class files in the directory d:\personal\java-ChartGen
    Chart.class
    ChartColourScheme.class
    ChartPanel.class
    ColorPanel.class
    TestChart.class
    TestIt.class
    All these files are for the program.
    Can some one help me why is this happening?? Is there something I can do
    that I am missing???
    I tried using the -CLASSPATH to direct it to the same directory but still
    with the same error.
    Please help me. Thank you

    I use the command line as follows:
    c:\j2sdk1.4.2_03\bin\java d:\personal\java-ChartGen\TestChart.class
    The full error message is as follows:
    Exception in thread "main" java.lang.NoClassDefFoundError:
    d:\personal\java-ChartGen\TestChart/class
    I thought it may be the CLASSPATH, but all my class files are located in the
    same folder and I used the switch -classpath but the same error comes up.

  • Return statement error and java.lang.noclassDefFoundError?

    public class Calculation
         public static void main (String[] args)
              int a[]=new int [12];
              int iNum=0;
              MainPrompt();
         static public int MyInput()
         return MyInput.readInt();
         public static boolean MainPrompt()
              System.out.println("\n This program will show you the times table [1-12] of any number between 1 & 100 inclusive.");
              int a[]=new int [12];
              int iNum = 0;
              do
                   do
                        System.out.print("\n Enter your number [1-100] or 999 to exit: ");
                        iNum = MyInput();
                        while ((iNum>=1)&&(iNum<=100));
                             if (iNum==999)
                                  System.out.println("\n Goodbye \n");
                        while (!(((iNum>=1)&&(iNum<=100))||(iNum==999)));
                             if ((iNum>=1)&&(iNum<=100))
                                  Calculation(a,iNum);
                                  TimesTable(a,iNum);
         public static void Calculation(int a[], int iNum)
              for(int j=0;j<a.length;j++)
              a[j]=iNum*(j+1);
         public static void TimesTable(int a[], int iNum)
              for(int i=0;i<a.length;i++)
              System.out.println((i+1)+"     *"+iNum+"     ="+a);
    In build output it says missing return statement line 42 "}"
    and also when I try to execute the program it gives me the Exception in thread "main" java.lang.NoClassDefFoundError: calculation
    In the folder I have placed the myinput.java and myinput.class file where my calculation.java is, but still no go.
    can anyone here help me out here?
    thanks in advance

    public class Calculation
         public static void main (String[] args)
              int a[]=new int [12];
              int iNum=0;
              MainPrompt();
         static public int MyInput()
         return MyInput.readInt();
         public static void MainPrompt()
              System.out.println("\n This program will show you the times table [1-12] of any number between 1 & 100 inclusive.");
              int a[]=new int [12];
              int iNum = 0;
              do
                   do
                        System.out.print("\n Enter your number [1-100] or 999 to exit: ");
                        iNum = MyInput();
                        while ((iNum>=1)&&(iNum<=100));
                             if (iNum==999)
                                  System.out.println("\n Goodbye \n");
                        while (!(((iNum>=1)&&(iNum<=100))||(iNum==999)));
                             if ((iNum>=1)&&(iNum<=100))
                                  Calculation(a,iNum);
                                  TimesTable(a,iNum);
         public static void Calculation(int a[], int iNum) //This part doesn't execute
              for(int j=0;j<a.length;j++)
              a[j]=iNum*(j+1);
         public static void TimesTable(int a[], int iNum)
              for(int i=0;i<a.length;i++)
              System.out.println((i+1)+"     *"+iNum+"     ="+a);

  • Weblogic 10.0 error java.lang.NoClassDefFoundError:

    Hi,
    I am using weblogic 10.0 and trying to upload the EAR which is build using Weblogic Workshop 8.1 SP4. i am gettign the following error:
    ####<Feb 13, 2010 2:36:48 AM IST> <Error> <Deployer> <STPLT1005> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1266008808529> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1266008804528' for task '0'. Error is: 'java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/AsyncDispatcherBean : weblogic/ejb20/interfaces/JmsMessageDrivenBean'
    java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/AsyncDispatcherBean : weblogic/ejb20/interfaces/JmsMessageDrivenBean
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

    Hello,
    I have not seen this particular error before, but if you can re-build the EJB using Workshop 10.0 I bet it will fix your problem. The old Workshop is running an old version of appc which the 10.0 version of WLS is probably not expecting.
    Kevin

  • Error: java.lang.NoClassDefFoundError: org/aspectj/lang/Signature

    My applications run well before,
    And after I remove org foleder: webapps\ROOT\WEB-INF\classes\org,
    and later put it back again( I did that just for testing something)
    Then I always get the error message:
    java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
    Don't understand why, all the directory are exactlly same as before.
    Ask your kindly help?

    Have you restarted your server? Changes to the class directory normally require a restart.
    Is the class org/aspectj/lang/Signature.class in that classes directory
    Have you just updated your MySQL driver? It seems there was a recent problem with one of the distributions of the MySQL driver that it required the Aspectj classes in the classpath to run, when it shouldn't.

  • Hectic error - java.lang.NoClassDefFoundError

    Hi All,
    I'm getting a strange error in my program when I execute my application, the error is java.lang.NoClassDefFoundError.
    Basically, I writing a RMI application, in that I'm in need of using a collection which should support duplicate keys and duplicate values. This duplicate keys are not supported by our Sun's JDK APIs (everyone knows). So, to achieve this duplicate keys in the collection, I got a API from Apache (org.apache.commons.co
    llections.MultiHashMap). which supports duplicate keys.
    I have placed the jar in the CLASSPATH which contains this org.apache.commons.collections.MultiHashMap class. I have compiled the class with jdk1.3, it was compiling properly without any error. when i try to execute it, it says the following error.
    Starting server...
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/MultiHashMap
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getMethod(Class.java:883)
    at ClrQstOperImpl_Stub.<clinit>(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
         at sun.rmi.server.ActivatableRef.getStub(ActivatableRef.java:65)
         at java.rmi.activation.Activatable.register(Activatable.java:217)
         at ActivableServer.main(ActivableServer.java:31)
    Please provide me some solution. Thanks in advance for your knowledge sharings and solutions.
    Thanks & Regards,
    Prabu

    Hi Kaj,
    Yes, I have downloaded it from the apache and having it in my classpath. I'm not using any application/server. Its a RMI application in which I have the MultiHashMap class (ie, from org.apache.commons.collections.MultiHashMap). It compiles properly, but at the time of execution, it says
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/MultiHashMap
    Looking for you people help....
    Thanks & Regards,
    Prabu

  • KM Document Upload Error - java.lang.NoClassDefFoundError

    Hi
    While Uploading the document in KM Content we are getting the Java Exception Error
    Class java.lang.NoClassDefFoundError
    com/sapportals/wcm/repository/manager/cm/SystemRIDFactory
    Exception:
    java.lang.ClassCastException
            at com.sapportals.wcm.control.generic.WcmErrorControl.readInputData(WcmErrorControl.java:553)
            at com.sapportals.wdf.stack.Control.triggerInput(Control.java:473)
            at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:172)
            at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:538)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
            at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
            at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
            at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
            at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:75)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
            at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    Note: This is not a permanent error, after 15-30mins we are able to upload the Documents. We are not able to analyse it.
    with regards,
    Mohamed Thahir

    hi,
    I can suggest you check the Generator URL setting. Or May be there is connectivity prob with content server . so check both of them.
    Regards
    RS

  • JSP Throws java.lang.NoClassDefFoundError =Weird Error

    Hi,
    JSP suddenly throws an error(please see error below) when i add a code in the program something like this:
    System.out.println("the ErrorMail address in SubmitErrorEMail is=="+AlterMisc.getVar(HashMap, "ErrorEmailTo"));
    if i remove this jsp executes properly.i am using IBM Websphere 3.0.2 on WindowsNT .can anybody tell me how to debug this type of errors and what could be the reason.any help
    in this regard is appreciated.
    Thanks
    Jack
    Error Message:
    java.lang.NoClassDefFoundError: D_0003a/IBM/IBM_00020HTTP_00020SERVER/htd_00025cs/alter/jsp/alter_jsp_SubmitOrder_jsp_1
         at java.lang.ClassLoader.resolveClass(ClassLoader.java:230)
         at com.sun.jsp.runtime.JspLoader.loadClass(JspLoader.java:136)
         at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:223)
         at com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:103)
         at com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:114)
         at com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:460)
         at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:570)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:557)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
         at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
         at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:349)
         at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:705)
         at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:631)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:1234)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1084)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:1043)
         at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:670)
         at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
         at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
         at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
         at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
         at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
         at java.lang.Thread.run(Thread.java:492)

    it looks like the server cant locate the class AlterMisc
    is it in the same package as this file? or imported correctly?
    i'm only guessin from problems i've had myself

  • Java.lang.NoClassDefFoundError with Novell GroupWise WebAccess Version 6.5

    Before I upgraded to Tiger (10.4.4) yesterday from Panther (10.3.9) & the latest version of Safari (I did not write down the exact version as I wiped out my hard drive when upgrading), the Novell GroupWise WebAccess version 6.5 was working perfectly fine.
    However, since the upgrade & using Safari 2.0.3 (417.8), I am getting the following error message after submitting my loginID and password.
    500 java.lang.NoClassDefFoundError java.lang.Exception
    Novell Servlet Gateway v2.00 Feb 2000
    If I use Netscape 7.2 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2), this site works fine.
    Both Safari and Netscape has out of the box setting, and both have Java/Javascript enabled.
    Both have Java 1.3.1 Plug-ins
    Any advice?
    Powerbook Pismo updgd to G4 550MHz   Mac OS X (10.4.4)   Mac OS X (10.3.9) on another partition
    Powerbook Pismo updgd to G4 550MHz   Mac OS X (10.4.4)  

    Never mind. I found the solution myself...
    The language preference for the OS had to be set to English for this page to work in Safari.

  • Java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator

    I have installed this NWDS 2.0.12. When I click on the icon from desktop, I see a splash screen for a second and then immediately an error message saying 'Problem during startup. Check the .log file in .metadata folder of your workspace.'
    Following is the log file
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Jun 29, 2006 16:09:37.302
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.getConstructor(Class.java:1027)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:709)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
         at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
         at org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(InternalPlatform.java:578)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLoader.java:471)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:854)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:784)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Can somebody help me to resolve this? What should be the potential cause for the error?

    java.lang.NoClassDefFoundError: <b>com/sap/tc/logging/Configurator</b>
    Either a missing jar or the classpath is not defined right.

Maybe you are looking for

  • Networked library for multiple users

    Hi there. I'd like to use networked drive (a Snap server) to store all iTunes media for 2 or more users, accessing this drive from multiple computers (both Windows and Mac). What's an appropriate solution and are there significant limitations to doin

  • Need a formula to calulate multiple cells and add the sum total to a cell in a other table

    Im a chef and my monthly inventory is a time consuming task. I get invoices from multiple suppliers on each day of the week. I enter them into a spread sheet and then need to add the sum total for all the invoices for say MONDAY. That total needs to

  • Problem in getting dynamic LOV

    hi i am trying to acheive dynamic LOV. i followed the steps 1.created a static record group 2.created a LOV and assigned with the above created static record group. 3.in w-n-b-i trying to create the DRG DECLARE    rg_id    RECORDGROUP;    grp_col  GR

  • QuickTime vs Shake

    Hello. Yesterday we made the upgrade in our system to version 10.5.7. Onlyone 1 of our 6 computers had a problem importing quicktime to the shake. It's only with the shake, I tested in the final cut, in motion application and it's fine. Am I missing

  • How would you plan this out?

    I've been given the task of importing several eLearning lessons from another program (ReadyGo). The program isn't very robust and I've found that I have to go in and copy/paste all of the text into a separate document in order to eventually move it i