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);

Similar Messages

  • 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?

  • 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

  • Failed to create Salience object and java.lang.NoClassDefFoundError

    We are getting the below error while trying to use the text enrichment component in Endeca integrator clover server.
    2015-01-26 10:11:59,880 INFO 1343495 [pool-7-thread-1] Creating new Salience object from data paths: '/app/oracle/ofm/TextEnrichment/salience-5.1.1.7349/data'.
    2015-01-26 10:11:59,881 ERROR 1343495 [pool-7-thread-1] Failed to get Salience object from factory
    java.lang.NoClassDefFoundError: com/lexalytics/salience/Salience
      at com.endeca.clover.adapters.salience.SalienceFactory.createSalience(SalienceFactory.java:101)
      at com.endeca.clover.adapters.salience.SalienceFactory.getSalienceInstance(SalienceFactory.java:41)
      at com.endeca.clover.adapters.salience.SalienceRunnable.run(SalienceRunnable.java:92)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:680)
    2015-01-26 10:11:59,891 ERROR 1343495 [WatchDog_1343495] Component [Customer Background:CUSTOMER_BACKGROUND] finished with status ERROR.
    Failed to create Salience object.
    2015-01-26 10:11:59,891 ERROR 1343495 [WatchDog_1343495] Error details:
    org.jetel.exception.JetelRuntimeException: Component [Customer Background:CUSTOMER_BACKGROUND] finished with status ERROR.
      at org.jetel.graph.Node.createNodeException(Node.java:535)
      at org.jetel.graph.Node.run(Node.java:514)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:680)
    Caused by: java.lang.RuntimeException: Failed to create Salience object.
      at com.endeca.clover.adapters.salience.SalienceComponent.execute(SalienceComponent.java:166)
      at org.jetel.graph.Node.run(Node.java:485)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      ... 1 more
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] Execution of phase [0] finished with error - elapsed time(sec): 0
    2015-01-26 10:11:59,930 ERROR 1343495 [WatchDog_1343495] !!! Phase finished with error - stopping graph run !!!
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] Post-execute finalization of connection:
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] DBConnection driver[org.jetel.connection.jdbc.driver.JdbcDriverImpl@103cdbdc]:jndi[null]:url[jdbc:oracle:thin:@gitvm000212.us.oracle.com:1521:upslstg]:user[upsell_winref] ... OK
    2015-01-26 10:11:59,930 INFO 1343495 [WatchDog_1343495] -----------------------** Summary of Phases execution **---------------------
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    2015-01-26 10:11:59,930 INFO 1343495 [JobFinalizer_1343495] Finalisation
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] 0 ERROR 0 139976
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] ------------------------------** End of Summary **---------------------------
    2015-01-26 10:11:59,931 INFO 1343495 [WatchDog_1343495] WatchDog thread finished - total execution time: 0 (sec)
    2015-01-26 10:11:59,935 INFO 1343495 [JobFinalizer_1343495] RunTime: 296 ms
    2015-01-26 10:11:59,935 ERROR 1343495 [JobFinalizer_1343495]
    --------------------------------- Error details ----------------------------------
      Component [Customer Background:CUSTOMER_BACKGROUND] finished with status ERROR.
      Failed to create Salience object.
    2015-01-26 10:11:59,935 INFO 1343495 [JobFinalizer_1343495] Finished Status: ERROR
    This happens only on our stage and production instances. On our dev instance it works without problems. All 3 instances are setup the same, although our dev instance was created long time before the stage and prod instances. However, we cannot detect any differences between the machines.
    I've tried the solutions mentioned in the other similar thread: Failed to create Salience object but this doesnt solve the issue since the directory and variables were already correct.
    Anyone can help?

    Given that you are running this in Clover Server, one thing I can recommend is to shut that server down, move/truncate the logs, restart and retest, then look at the first error message you get when attempting to run the graph.  Java classloaders sometimes cache failed class clinit and report future attempts to load that class as a simple NoClassDefFoundError, masking the original/actual root cause.  With any luck you might find another, clearer error - maybe the native binary libraries are not being located.

  • Windows XP and java.lang.NoClassDefFoundError: Console

    Our company is currently using a web page to launch a java applet that redirect the user to an application server to demo our product. This has been and still is working fine for all Windows version until XP. And depending on which version of XP, sometimes it will work and sometime it won't. The link to the web site to launch the applet is http://www.aasys.com/gs_java/iejava.htm if you wish to test it.
    It should take you to a screen asking for a security code which we would provide to our customers. If you get this far it is working.
    Any suggestion would be helpful.
    Thanks.
    DP Grose
    Below is the error message we get on some of the Windows XP versions :
    Java(TM) Plug-in: Version 1.4.2
    Using JRE version 1.4.2 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Don
    Proxy Configuration: No proxy
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NoClassDefFoundError: Console
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Your first option we are currently looking at but have not tested it yet. We would prefer the end user not to have to do this, but they may have to in the end.
    Your second option seems the best route to go and we may be able to get the source code from our vendor. Once this is compiled under 1.4.2 will it still be compatable with the older version of MS JVM or will our users need to download the current Java plugin? Since this the way that Java is proceeding this will most likely work for everyone.
    Thanks.

  • 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.

  • 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.

  • JNDI subsystem is not ready to use and java.lang.NoClassDefFoundError: org

    Hi,
    I am installing Access point management system on WebLogic Server 9.2 MP3.In the Admin server logs i am facing the following error:
    Sep 25, 2011 6:29:33 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:29:33 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:31:20 AM net.sf.ehcache.config.ConfigurationFactory parseConfiguration
    WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: zip:/opt/hdmres_HAserver1/domains/HDMDomain/servers/necapms01-s0
    9_7204/tmp/_WL_user/nec-res-femto-1_3_0/r4j89a/APP-INF/lib/ehcache-1.6.0.jar!/ehcache-failsafe.xml
    My access point is not able to communicate with the Application.I am not sure due to above error or nor but this is the error i am getting.
    Another error is related to log4j due to which trace logs are not generating
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Error> <JMSClientExceptions> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Defa
    ult (self-tuning)'> <<anonymous>> <> <> <1316911802433> <BEA-055165> <The following exception has occurred:
    java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
    java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
    at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:145)
    at org.apache.log4j.Category.forcedLog(Category.java:379)
    at org.apache.log4j.Category.error(Category.java:310)
    at motive.serversupport.jms.SubscriberConnection.onException(SubscriberConnection.java:280)
    at weblogic.jms.client.JMSExceptionContext$1.run(JMSExceptionContext.java:54)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.jms.client.JMSExceptionContext.invokeListener(JMSExceptionContext.java:50)
    at weblogic.jms.client.JMSSession.onException(JMSSession.java:2610)
    at weblogic.jms.client.JMSConsumer.pushException(JMSConsumer.java:736)
    at weblogic.jms.client.JMSConsumer.invoke(JMSConsumer.java:753)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:129)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchNoReply(DispatcherImpl.java:160)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.java:27)
    at weblogic.jms.frontend.FESession.pushException(FESession.java:3072)
    at weblogic.jms.frontend.FEConsumer.pushException(FEConsumer.java:361)
    at weblogic.jms.frontend.FEConsumer.invoke(FEConsumer.java:824)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:129)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchNoReply(DispatcherImpl.java:160)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.java:27)
    at weblogic.jms.backend.BESessionImpl.removeConsumerWithError(BESessionImpl.java:1453)
    at weblogic.jms.backend.BEConsumerImpl.closeWithError(BEConsumerImpl.java:662)
    at weblogic.jms.backend.BEDestinationImpl.closeAllConsumers(BEDestinationImpl.java:1048)
    at weblogic.jms.backend.BETopicImpl.closeAllConsumers(BETopicImpl.java:757)
    at weblogic.jms.backend.BEDestinationImpl.shutdownInternal(BEDestinationImpl.java:851)
    at weblogic.jms.backend.BEDestinationImpl.shutdown(BEDestinationImpl.java:824)
    at weblogic.jms.backend.BackEnd.removeDestination(BackEnd.java:1476)
    at weblogic.jms.backend.BEDestinationRuntimeDelegate.unprepare(BEDestinationRuntimeDelegate.java:269)
    at weblogic.jms.backend.udd.UDDEntity.unprepare(UDDEntity.java:466)
    at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1695)
    at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1667)
    at weblogic.jms.module.JMSModule$EntityState.access$100(JMSModule.java:1608)
    at weblogic.jms.module.JMSModule.unprepare(JMSModule.java:462)
    at weblogic.jms.module.ModuleCoordinator.unprepare(ModuleCoordinator.java:313)
    at weblogic.application.internal.flow.ModuleListenerInvoker.unprepare(ModuleListenerInvoker.java:136)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.previous(DeploymentCallbackFlow.java:366)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:52)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:42)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:98)
    at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:621)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:52)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:42)
    at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:255)
    at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:196)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:118)
    at weblogic.deploy.internal.targetserver.BasicDeployment.unprepare(BasicDeployment.java:284)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doUnprepare(DeploymentAdapter.java:84)
    at weblogic.management.deploy.internal.DeploymentAdapter.unprepare(DeploymentAdapter.java:210)
    at weblogic.management.deploy.internal.AppTransition$7.transitionApp(AppTransition.java:75)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.unprepare(ConfiguredDeployments.java:204)
    at weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:192)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:188)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:120)
    at weblogic.application.ApplicationService.halt(ApplicationService.java:142)
    at weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:417)
    at weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:264)
    at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:865)
    at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:773)
    at weblogic.t3.srvr.ServerRuntime.forceShutdown(ServerRuntime.java:330)
    at weblogic.server.RemoteLifeCycleOperationsImpl.forceShutdown(RemoteLifeCycleOperationsImpl.java:57)
    at weblogic.server.RemoteLifeCycleOperationsImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:553)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:443)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:439)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:61)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:983)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    >
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802443> <BEA-040324> <JMSServer "necapms01-s09_7204_jms" is suspending.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802456> <BEA-040325> <JMSServer "necapms01-s09_7204_jms" is suspended.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802467> <BEA-001514> <Destroying Data Source HDMJDBCPool.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802471> <BEA-001515> <Data Source HDMJDBCPool has been successfully destroyed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802471> <BEA-001508> <Destroying Connection Pool HDMJDBCPool.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802478> <BEA-001128> <Connection for pool "HDMJDBCPool" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802480> <BEA-001128> <Connection for pool "HDMJDBCPool" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Warning> <Common> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-t
    uning)'> <hdm_admin> <> <> <1316911802480> <BEA-000632> <Resource Pool "HDMJDBCPool" shutting down, ignoring 1 resources still in use by applications..>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802483> <BEA-001126> <Destroyed Connection Pool named HDMJDBCPool.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802489> <BEA-001514> <Destroying Data Source DashboardJDBCDataSource4HDMJDBCDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802489> <BEA-001515> <Data Source DashboardJDBCDataSource4HDMJDBCDataSource has been successfully destroyed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802490> <BEA-001508> <Destroying Connection Pool DashboardJDBCDataSource4HDMJDBCDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802492> <BEA-001128> <Connection for pool "DashboardJDBCDataSource4HDMJDBCDataSource" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802492> <BEA-001126> <Destroyed Connection Pool named DashboardJDBCDataSource4HDMJDBCDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802498> <BEA-001514> <Destroying Data Source CPEAuthDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802498> <BEA-001515> <Data Source CPEAuthDataSource has been successfully destroyed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802498> <BEA-001508> <Destroying Connection Pool CPEAuthDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802500> <BEA-001128> <Connection for pool "CPEAuthDataSource" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802501> <BEA-001126> <Destroyed Connection Pool named CPEAuthDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <MessagingBridge> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (
    self-tuning)'> <hdm_admin> <> <> <1316911802594> <BEA-200001> <The messaging bridge service has successfully shut down.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802596> <BEA-040308> <JMS service is suspending.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802599> <BEA-040107> <Undeployed 8 default connection factories.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802600> <BEA-040015> <JMS shutdown is complete.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802601> <BEA-001144> <Force Suspending the JDBC service.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802601> <BEA-001146> <Force suspend of the JDBC service completed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802601> <BEA-001147> <Shutting down the JDBC service.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802602> <BEA-001149> <Shutdown of the JDBC service completed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <Cluster> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
    ing)'> <hdm_admin> <> <> <1316911802604> <BEA-000103> <Disconnecting from cluster HDMCluster>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Notice> <Server> <necapms01-s09> <necapms01-s09_7204> <DynamicSSLListenThread[DefaultAdministration]> <<WLS Kernel>> <> <> <131
    6911802605> <BEA-002607> <Channel "DefaultAdministration" listening on 10.66.12.212:9203 was shutdown.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <WebLogicServer> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (s
    elf-tuning)'> <hdm_admin> <> <> <1316911802605> <BEA-000236> <Stopping execute threads.>
    ####<Sep 25, 2011 6:25:52 AM GMT+05:30> <Notice> <WebLogicServer> <> <> <main> <> <> <> <1316912152282> <BEA-000395> <Following extensions directory contents added to t
    he end of the classpath:
    /opt/hdmres_HAserver1/weblogic92/platform/lib/p13n/p13n-schemas.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/p13n/p13n_common.jar:/opt/hdmres_HAserver1/weblogic92/
    platform/lib/p13n/p13n_system.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_common.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_schemas.j
    ar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_system.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/wsrp-common.jar>
    ####<Sep 25, 2011 6:25:52 AM GMT+05:30> <Info> <WebLogicServer> <> <> <main> <> <> <> <1316912152587> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Serve
    r VM Version 1.5.0_15-b04 from Sun Microsystems Inc.>
    ####<Sep 25, 2011 6:27:38 AM GMT+05:30> <Notice> <Security> <> <> <main> <> <> <> <1316912258744> <BEA-090169> <Loading trusted certificates from the jks keystore file
    /opt/hdmres_HAserver1/weblogic92/server/lib/DemoTrust.jks.>
    ####<Sep 25, 2011 6:27:38 AM GMT+05:30> <Notice> <Security> <> <> <main> <> <> <> <1316912258775> <BEA-090169> <Loading trusted certificates from the jks keystore file
    /opt/hdmres_HAserver1/jdk150_15/jre/lib/security/cacerts.>
    ####<Sep 25, 2011 6:29:28 AM GMT+05:30> <Info> <Management> <> <> <main> <> <> <> <1316912368207> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR370311 Tu
    e Jun 03 14:20:55 IST 2008
    Please suggest your valuable opinion to resolve these issues.
    Thanks,
    Harish Chowdhary
    >

    Hello,
    I recommend not the xmlpull jar file, but the xpp3-*.jar file found with your Enterprise installation.  It's in the "external" subfolder where you got your other Enterprise jar files.
    You'll have to remove the xmlpull jar, since they'd version conflict.
    Sincerely,
    Ted Ueda

  • 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.

  • 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

  • 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

  • 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

Maybe you are looking for

  • My USB Port Beside Power Adapter Plug In Doesnt Work?

    Awhile ago the usb port that is right beside where the power adapter goes in stopped working which makes it hard to things as Im using an external keyboard in the other one. ANy ideas?

  • Where can I get Brother printer drivers?

    I found on the local net the printer I want to share. MFC-685CW I need the drivers, though, so I select to have them installed but get an error to do with network server connection or something. I found them on the Apple site but when I run the 'Brot

  • Error in Executing Default Logic

    Hi, I included a formula in default logic which is a simple multiplication of two account dimension members: *BEGIN [P_ACCT].[#CE0004220] = [P_ACCT].[CE0004210]*[P_ACCT].[CE0004230] *END Was able to successfully validate and save the logic. However,

  • People Photo Stacks not showing photo and how to change that photo

    I had a very large database of images that I ocnverted from PSE 10. All is well, except for this rather glaring annoyance. When the People is clicked to show the people photo stacks, many of the stacks only have a standard icon instead of the others

  • Can I share smart collections with other users across different machines ?

    My requirement is to create a smart collection on one machine and share it with other team members. Is this possible in Bridge CS4. Any help would be appreciated.