NoClassDefFoundError----- please help me

really i am appreciating your feedback soon
Why is it happening ?
i got exception in my application
Exception is
javax.servlet.ServletException: Error allocating a servlet instance
Root Cause
java.lang.NoClassDefFoundError: LoginAction (wrong name: CallMonitor/LoginAction)

i got a null pointer exception in my code...
I found by it . Its all getting connection object .....
In jsp code
ServletContext context = null;
          Object  contextGet = context.getAttribute("connection");
          InsertBean ib = new InsertBean();
          ArrayList al = ib.sendQuestion(contextGet);
          Iterator itr = al.iterator();
               while (itr.hasNext())
                    Object element = itr.next();
}Object contextGet = context.getAttribute("connection");
Here connection i set as attribute in Listener class
context is an implicit object in jsp ....
directly i accessing through connection object . i got error is that cannot find the symbol (context)
Message was edited by:
kannankalli
Message was edited by:
kannankalli

Similar Messages

  • 'NoClassDefFoundError' please help!!

    hi all,
    i have an ear application deployed to SOA 10.1.3.1 appluication server,
    BPEL worklist apis are used in the session bean of this application,
    when i try to access the web page that interacts with these APIs i got the following error:
    JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=oracle.classloader.util.AnnotatedNoClassDefFoundError: Missing class: oracle.tip.pc.services.hw.worklist.WorklistService Dependent class: orantia.taf.firstpage.model.FirstPageSessionBean Loader: firstPageEAR.root:0.0.0 Code-Source: /C:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/firstPageEAR/ModelJar.jar Configuration: <ejb> in C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\firstPageEAR The missing class is available from the following locations: 1. Code-Source: /C:/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/bpm-services.jar (from <code-source> in /C:/product/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml) This code-source is available in loader oracle.bpel.common:10.1.3. This shared-library can be imported by the "firstPageEAR" application. 2. Code-Source: /C:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/firstPageEAR/ViewWar/WEB-INF/lib/bpm-services.jar (from WEB-INF/lib/ directory in C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\firstPageEAR\ViewWar\WEB-INF\lib) This code-source is available in loader firstPageEAR.web.ViewWar:0.0.0. This is a child of the dependent loader firstPageEAR.root:0.0.0.
    it seems that the bpm-services.jar is not visible to the application, what configurations are needed to resolve this issue,
    it's been two days and i didn't make it!!
    thanks

    hi mkamath, i changed the parent value to orabpel, restarted soa, and when i tried to launch the application again i got 'The Page cannot be found',
    and nothing is logged in the application.log located in:
    "C:\product\10.1.3.1\OracleAS_1\j2ee\home\application-deployments\<APPLICATION_NAME>\home_default_group_1".
    is there any additional configs i have to do? thanks

  • Please HELP me with installation - java.lang.noclassdeffounderror:

    Please Help! For school we need to install JAVA. I installed JDK 5.0 and id did not work. I got exception in thread "main" java.lang.noclassdeffounderror: hello. I was using Texpad to write, compile, and run it. In short I deleted all JAVA 5.0 using My Computer program removal. I installed JAVA 1.4..2_10 and I am still getting that same error. I want the JAVA 1.4..2_10 to be installed and not JAVA.5.0.
    My System Variable CLASSPATH still shows C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip. My System Variable PATH has nothing as far as JAVA in it. MY PATHEXT has JS and JSE amoung other things in it. My System Variable QTJAVA still has Files\Java\jre1.5.0_03\lib\ext\QTJava.zip in it.
    Please tell me step-by-step how I can fix this. I never updated these variables before. What do I need to type and where? What do I need to get rid of or change?
    PLEASE HELP!
    Thanks,
    Jim

    I left my System variable classpath --> C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip I left my QT JAVA --> C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip I added Path --> ;C:\j2sdk1.4.2_10\bin and then restarted my computer. I added hello file in C:\j2sdk1.4.2_10\bin and tried to compile it under a new name and it would not compile. it gave me the error below. I was able to compile other java program in my other folder in a different directory. I am still getting the same error messages/ Anything else I should try? IS there anyplace or person I can call who would come and fix this? Something is wrong. This should not be giving me this much trouble. All The Java directions on other websites tell me to do different things. I am so confused... please help.
    I get this during the compilenow:
    javac: invalid flag: C:\j2sdk1.4.2_10\bin\helloa.txt
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -help Print a synopsis of standard options
    Tool completed with exit code 2
    Jim
    If you can fix this I will give you 14 points. I hope it is enough. I just want this to work for school.

  • NoClassDefFoundError error please help

    Hello all
    I compile a file as the following:
    C:\Documents and Settings\John\My Documents>javac TestConnection.java
    It compiles OK
    Then I run this:
    C:\Documents and Settings\John\My Documents>java -cp C:\j2sdk1.4.2_05\bin\pg74
    .216.jdbc3.jar . TestConnection
    Exception in thread "main" java.lang.NoClassDefFoundError: /
    I am sure that the file pg74.216.jdbc3.jar is in the correct location
    If I run java -cp . TestConnection, I got a error showing that
    java.lang.ClassNotFoundException: org.postgresql.Driver
    at java.net.URLClassLoader$1.run(Unknown Source)
    I know that the java cannot find out postgres driver.
    Could you please help me to fix this.
    Many thanks

    You have to include both jars in your classpath, the one containing TestConnection and the one containing the jdbc driver.

  • Error while loading program...Please help.. :)

    Hello All,
    Have written a HTMLB program (DBConnect.java) which takes data from database and retrieves it in TableView.
    But it does not work.
    Get this error:
    Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/htmlb/page/PageProcessorComponent
    Loader Info -
    ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@1e72d6]
    Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@9cf322]
    References:
       not registered!
    No resources !
    The error occurred while trying to load "com.sap.sample.database.DBConnect".
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:389)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
         ... 30 more
    I have also included the PageProcessorComponent class file in my project properties.
    Please help....Whatz wrong.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    Change the PrivateSharingReference to SharingReference in the xml
    <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
    ==========
    Change your xml to
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config>
    <property name="SharingReference" value="com.sap.portal.htmlb"/>
    </application-config>
    <components>
    <component name="DBConnect">
    <component-config>
    <property name="ClassName" value="com.sap.sample.database.DBConnect"/>
    </component-config>
    <component-profile>
    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld" />
    </component-profile>
    </component>
    </components>
    <services/>
    </application>

  • Please help me regarding implemenatation of plsql webservices

    hello every one,
    My name is anil, I am working on the topic "building pl/sql web services". I successfully deployed my pl/sql function. But i got an error while invoking the function from a web service.
    my error is
    08/04/22 10:40:23 javax.servlet.ServletException: Cannot generate Class: java.lang.NoClassDefFoundError: com/sun/tools/javac/M
    ain
    Exception in thread "main"
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:569)
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:467)
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:614)
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:725)
    08/04/22 10:40:23 at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1199)
    08/04/22 10:40:23 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    08/04/22 10:40:23 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    08/04/22 10:40:23 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691)
    08/04/22 10:40:23 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    08/04/22 10:40:23 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/04/22 10:40:23 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.ja
    va:303)
    08/04/22 10:40:23 at java.lang.Thread.run(Unknown Source)
    please help me

    SowmyRaj wrote:
    But i am unable to run it successfully...please help me regarding this... No wonder. Script is full of entries:
    **MOBILE CODE**Modify script:
    1. Change:
    **MOBILE CODE** immediateto:
    execute immediate2. Change:
    **MOBILE CODE**to:
    end ifRun the script. If you will run it second time, change:
    u_exist PLS_INTEGER;
    t_exist PLS_INTEGER;
    ts_exist PLS_INTEGER;
    ss_exist PLS_INTEGER;to:
    u_exist PLS_INTEGER := 1;
    t_exist PLS_INTEGER := 1;
    ts_exist PLS_INTEGER := 1;
    ss_exist PLS_INTEGER := 1;This way existing objects will be dropped before recreating them.
    SY.

  • I am having a problem installing the JDK Software. Please Help

    Please help I am Having trouble installing my JDK software. I tried to make a simple program saying Hello World and the program fails to work because it can not find my class.
    C:\Jfiles\DIR
    ILoveJava.java
    ILoveJava.class
    C:\Jfiles\Javac ILoveJava.java
    C:\Jfiles\Java ILoveJava
    Exception in thread "main" Java.lang.NoclassDeffounderror
    The Path seems to be set correctly because the Javac compiled.
    I have tried a number of different ClassPath Definitions like C:\JDK.14\Lib\Tools.jar and ClassPath=.;C:\JDK.14\Lib\Tools.jar and ClassPath=. and ClassPath=
    I made sure that the capitilization and the spelling was the same between the ILoveJava I specified in notepad and the program name.
    I am also having trouble with JBuilder, Eclispe and NetBeans with finding Classes.
    Another error that I received after I changed the ClassPath to ClassPath= .;C:\JDK1.4\bin\ was a
    nosuchmethod error, When I tried to run the program I made using Java ILoveJava.
    Is their any other problem like a conflict of some sort that could be causing this problem?
    Could the problem be anything besides the ClassPath and Path Settings?
    Please, help me? I really, really, need to learn Java. Thank You.
    Java -Version
    Java Version 1.4.2.
    Windows XP

    Hi all,
    Sylonious, did you manage to sort this problem out? I have been experiencing similar problems. I think my problem was because I had many different versions of JDKs. I have done a complete re-install. I would be really grateful to you (and anyone else) for help with this problem.
    I have re-installed JSDK1.4.2_03, set the "path" variable to "C:\JSDK1.4.2_03".
    When I compile using "javac" I get an error saying "javac" is not recognised.
    When I compile using "C:\j2sdk1.4.2_03\bin\javac Freq.java" no error is thrown.
    Every time I try to run a java file, I always get the NoClassDefFound error. When run with the -verbose option, files are loaded from C:\Program Files\Java\j2re1.4.2_03\bin - is this correct?
    I have removed all previous references to java in the registry editor.
    Please help !
    Regards,
    Vipul

  • Problem with JSTL 1.0.6 in WLS 8.1.4 - Please Help

    I am trying to use JSTL 1.0.6 in WLS 8.1.4. Here are the steps I followed:
              <br>
              Step 1:
              Copied the following jar files to WEB-INF/lib directory:<br>
              - jaxen-full.jar<br>
              - jdbc2_0-stdext.jar<br>
              - jstl.jar<br>
              - saxpath.jar<br>
              - standard.jar<br>
              - xalan.jar<br>
              - xercesImpl.jar<br>
              - xml-apis.jar<br>
              <br>
              Step 2:
              Imported JSTL into my one-and-only JSP page as follows:<br>
              <%@ page contentType="text/html;charset=UTF-8" language="java" %>
              <%@ taglib prefix="c"<br>uri="http://java.sun.com/jstl/core" %>
              <%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>
              <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"%>
              <%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt" %>
              <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
              <%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt" %>
              <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
              <%@ taglib prefix="sql_rt" uri="http://java.sun.com/jstl/sql_rt" %>
              <br><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
              <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
              <br>
              <br>
              (I am also using struts, hence the last two page directives)
              <br>
              <br>
              Step 3:
              Finally I tried to build an EAR (which used to build OK before I added JSTL) using a slightly modified version of the build.xml that comes with the Medrec tutorial. wlcompile went OK, but <b>wlappc</b> failed with the following message:
              <br>
              java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
              <br>
              <br>
              What am I doing wrong? I followed the instructions given in the JSTL 1.0.6 package. Is wlappc not the right tool for translating/compiling the JSP?
              <br>
              Please help!
              <br>
              <br>
              Regards,
              Nadeem

    I can't be sure about exactly what's happening here, but I can point out several things.
              The class "javax.servlet.jsp.el.VariableResolver" is associated with JSTL 1.1.x, and JSP 2.0. It's not part of JSTL 1.0.x. Make sure you really have version 1.0.6, and don't have 1.1 somewhere.
              If you're just trying to use the JSTL, you shouldn't need several of those jars that you're presently including. You only need jstl.jar and standard.jar.
              Why are you using the "rt" versions of these taglibs? Those don't even use the expression language. I would remove "_rt" from all of those references.
              Note that if you're using Struts and the JSTL, you probably want to use Struts-EL, which is a version of the Struts jar that uses the EL to evaluate attribute values. Check the struts-user archive for some information about this. You'll find the struts-el distribution in the "contrib" directory of the Struts distribution.

  • Java command still not working - please help

    i have installed jdk1.6.0_05. The javac command works fine but the java command does not work at all. even when i try java HelloWorld i receive this exception message
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    Caused by: java.lang.ClassNotFoundException: HelloWorld
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    please help (you to SUN)!!

    bart@kerberos:~$ javac -help
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files and annotation processors
      -cp <path>                 Specify where to find user class files and annotation processors
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -proc:{none,only}          Control whether annotation processing and/or compilation is done.
      -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
      -processorpath <path>      Specify where to find annotation processors
      -d <directory>             Specify where to place generated class files
      -s <directory>             Specify where to place generated source files
      -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -Akey[=value]              Options to pass to annotation processors
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime systemSee the bold part.
    More information: [http://java.sun.com/docs/books/tutorial/java/package/managingfiles.html]

  • Please help me regarding error in jcManager 1.1

    Hi Friends..
    perhaps this question especially for bebecanu, but perhaps i hope all of you could help me too.. :)
    i tried to learn how way jcManager works, so i downloaded the jcManager1.1 source..
    i created new application in Netbeans 6.9, and then i copied all of files in the jcmanager.source..
    i've set the libraries needed also in Netbeans, i've added the libraries of jpcsc.jar and looks-2.1.4.jar , so assume that there's no error while compile time..
    but while runtime, there's message error displayed in the TextArea..
    this is the message error :
    Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not initialize class com.linuxnet.jpcsc.PCSC
         at com.braicu.jcm.card.CardWorker.disconnectCard(CardWorker.java:507)
         at com.braicu.jcm.JCManager$22.construct(JCManager.java:620)
         at com.braicu.jcm.layout.MySwingWorker$2.run(MySwingWorker.java:108)
         at java.lang.Thread.run(Thread.java:619)so, how to initialize class com.linuxnet.jpcsc.PCSC in Netbeans?..
    Please help me regarding this..
    Thanks in advance..

    Hi
    You need to have jpcsc.dll (you may find it in the res folder) in your java library path.
    So, all you need to do is to specify this VM argument on running:
    -Djava.library.path=res
    Hope it helps
    Stefan

  • Problem in intermedia Please help me!

    I am University student in South Korea. I'm major in Computer Engineering. I'm using Oracle 9i. And then I'm using 'intermedia' package. I'm interesting in Content-based retrieval. Among them, I'm interesting in Image retrieval.
    But problem is happened in Oracle and Java linked. Problem class is 'getCustumDatum'. Error message came out 'this class can't using' What can I do? Please help me.
    Error message : Exception in thread "main" java.lang.NoClassDefFoundError: sqlj/runtime/ref/DefaultContext
    P.S) Please excuse me, I am not good at in English.

    Please cut and paste the exact message in a reply.
    Most likely, your CLASSPATH is wrong.
    Larry

  • Error: Serious Error Please Help Somebody/anubody

    Hi,
    The below Text are the error im getting while using the jasper reports in my project. I have included all the libraries in my add library field in my net beans.
    Please help as soon as possible
    Thanking You
    R.Muthu Kumar
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap
         net.sf.jasperreports.engine.JRPropertiesMap.<init>(JRPropertiesMap.java:57)
         net.sf.jasperreports.engine.base.JRBaseDataset.<init>(JRBaseDataset.java:71)
         net.sf.jasperreports.engine.design.JRDesignDataset.<init>(JRDesignDataset.java:154)
         net.sf.jasperreports.engine.design.JasperDesign.<init>(JasperDesign.java:100)
         net.sf.jasperreports.engine.xml.JasperDesignFactory.createObject(JasperDesignFactory.java:48)
         org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:389)
         org.apache.commons.digester.Digester.startElement(Digester.java:1286)
         com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
         com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:767)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1357)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(XMLDocumentScannerImpl.java:1289)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3084)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:912)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
         com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
         com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
         com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
         com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
         com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
         com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
         org.apache.commons.digester.Digester.parse(Digester.java:1572)
         net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239)
         net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226)
         net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214)
         reportpackage.printerproductionreport.execute(printerproductionreport.java:69)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
    Apache Tomcat/6.0.14

    The Jasper documentation probably tells you exactly what you need.
    But anyway it looks like the class might come from the Jakarta Commons collections library. Google for it. It'll be on apache.org someplace.

  • Please help me. I am getting a runtime error.

    Package problem in java?
    Please help me. I have two packages named app and Util. Util is inside app. In Util i have the file BitUtils.java and in app i have CertkillerApp.java which is the driver file. I am getting error. Please help me.
    BitUtils.java :
    package Util;
    public class BitUtils {
    public static void process(new byte[]) {
    System.out.println("Inside method byte");
    CertkillerApp.java
    package app;
    public class CertkillerApp {
    public static void main(String[] args) {
    byte[] bytes = new byte[256];
    Util.BitUtils.process(bytes);
    Now when i am entering app directory inside D: by cd app and compling by javac CertkillerApp.java. It is compiling but when i am executing from the same directory it is
    giving runtime errror.
    Output :
    D:\APP>java app.CertkillerApp
    Exception in thread "main" java.lang.NoClassDefFoundError... app/CertkillerApp

    I think I got it.
    You said: "Util is inside app", right?
    First: package names should allways be with lowercases.
    So I would change it for: util.
    Second: since the package util is "inside" the package app, then the real name of the package util is: app.util.
    It is NOT just util (there is no such thing in Java as partial package names).
    So you should have the following folders/files:
    D:\
    D:\app
    D:\app\CertkillerApp.java
    D:\app\util
    D:\app\util\BitUtils.java
    Where BitUtils.java file should start with:package app.util;And CertkillerApp.java should look like:package app;
    public class CertkillerApp {
        public static void main(String[] args) {
            byte[] bytes = new byte[256];
            app.util.BitUtils.process(bytes);
    }Then you should compile them:cd  D:\
    javac  -classpath  .  app\*.java  app\util\*.javaThen run it:cd  D:\
    java  -classpath  .  app.CertkillerAppRegards

  • Please Help! Can't get my applet to work!!

    PLEASE HELP
    I have been trying to get an applet to work which when viewed in an applet viewer works fine.
    HOWEVER, when I try to view it through the browser it will not be viewed. The html code I've used is very simple and you can see that below . I've downloaded the JAVA plugin but that doesn't work either!
    The errors that come up say --- java.lang.ClassFormatError.Class already loaded
    Then if the window is expanded says --- java.lang.NoClassDefFoundError:javax/swing/JApplet
    I haven't a clue what's wrong!!
    HTML CODE
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
    <HTML>
    <HEAD><TITLE>Chess Game
    </TITLE>
    </HEAD>
    <BODY>
    <applet Code ="ChessClient20.class" Width =450 Height =555>
    </applet>
    </BODY>
    </html>
    Thanks for any help!!

    Thanks, have now found original mail. I think I've lost the plot. will check out those suggestions.

  • What is wrong with this!! please help

    Hello friends,
    I'm a learner and I have done lot of JDBC connectivity with Acess database, and now I want to connect java program with oracle database, but the problem is I have downloaded the oracle driver, set the classpath, and I have created the DataSource Name with MS-ODBC, I could able to compile but I'm getting run time exception, please help me with this. regards, shabeer.
    the program is
    import java.sql.*;
    public class ShabeerJdbc {
    public static void main(String args[]) {
    // String url = "jdbc:oracle:thin:@imran:3339:shabeerjdbc";
    Connection con;
    String createString;
    createString = "create table COFFEES " +
    "(COF_NAME VARCHAR(32), " +
    "SUP_ID INTEGER, " +
    "PRICE FLOAT, " +
    "SALES INTEGER, " +
    "TOTAL INTEGER)";
    Statement stmt;
    try {
    System.out.println("shabeer1");
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    System.out.println("shabeer2");
    } catch(java.lang.Exception e) {
    System.out.println("shabeer3");
    System.err.print("ClassNotFoundException: ");
    System.out.println("shabeer4");
    System.err.println(e.getMessage());
    try {
    System.out.println("shabeer55");
    con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:shabeerjdbc", "system", "mehar");
    System.out.println("shabeer6");
    stmt = con.createStatement();
    System.out.println("shabeer7");
    stmt.executeUpdate(createString);
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    the run time error is ......
    C:\JavaPractice>java ShabeerJdbc
    shabeer1
    shabeer2
    shabeer55
    Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at ShabeerJdbc.main(ShabeerJdbc.java:38)
    ****************************************

    HI Deriderj, thanks for your response, well I have changed the Datasourse name to SID which is "Imran" and still it is not working....do I need to download anymore driver or whether they be bundled with the ojdbc.jar, please advice me. What if I want to use another driver as you mentioned...not to use thin: what other drivers will be available for the Oracle9.2.0.1.0 please advice me, thanks a lot
    My SID name is "Imran"
    listening port is is 1521
    odbc datasource name is "shabeerjdbc"
    I'm a very biginner and I'm facing too much problem, please help me. Well I have got Oracle9.2.0.1.0 loaded as the database and soon after I intstalled it I have copied ojdbc14.jar into my java classpath and I'm trying to connect to this data base. I dont know what driver I should use, neither I downloaded any. I'm just mentioning thin: in my URL. But It is giving error, can u please tell me what driver should I mention in the URL, and why I'm getting this error, Here is the code that is compiling without errors.
    import java.sql.*;
    public class ShabeerJdbc {
    public static void main(String args[]) {
    Connection con;
    String createString;
    createString = "create table COFFEES " +
    "(COF_NAME VARCHAR(32), " +
    "SUP_ID INTEGER, " +
    "PRICE FLOAT, " +
    "SALES INTEGER, " +
    "TOTAL INTEGER)";
    Statement stmt;
    try {
         System.out.println("shabeer1");
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
         System.out.println("shabeer2");
    } catch(java.lang.Exception e) {
         System.out.println("shabeer3");
    System.err.print("ClassNotFoundException: ");
         System.out.println("shabeer4");
    System.err.println(e.getMessage());
    try {
         System.out.println("shabeer55");
    con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:Imran", "system", "mehar");
         System.out.println("shabeer6");
         stmt = con.createStatement();
         System.out.println("shabeer7");
         stmt.executeUpdate(createString);
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.println("Sql Exception" + ex.getMessage());
    ************The runtime Error it is giving is *********************
    C:\JavaPractice>java ShabeerJdbc
    shabeer1
    shabeer2
    shabeer55
    Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at ShabeerJdbc.main(ShabeerJdbc.java:38)
    ***************************** please help me....

Maybe you are looking for

  • Creating a Disk Image from Compressor Fails

        Hpefully some one can help me out here. Here's whats going on and I've tried this on 2 different systems (iMac 24 inch OSX 10.9.4,Nvidia GeForce GT750M 1 GB,  3.1 Ghz i7 Processor 1 TB Fusion Drive, 16 gigs of ram & a iMac 27 Inch OSX 10.9.4 Nvid

  • Custom Pricing Conditions not working for a PO in SRM

    Hi Experts, We are on SRM 5.0, ECC 6.0 , Extended Classic Scenario. We configured the pricing conditions in SRM . We defined the our custom pricing condition types as below Condition type      ---  Condition Class       ---  Calculation Type Frieght(

  • In what order are results from gather_database_stats 'LIST AUTO' returned?

    11.2.0.1.0. The results from the following seem to have some order to them (groupings of objects returned alphabetically). Didn't see anywhere in the docs to indicate what's getting returned in what order (empty stats, stale stats). I looked at table

  • Newbie: Received Flash content - need help embedding

    Hi, I received a web banner from one of our suppliers that I need to embed into our website.  I've got it into the web page but don't know how to configure an "onclick" action.  In my reading I don't find a parameter to specify what action to take if

  • Flash Pro IDE or Flash Builder 4.5

    Hello, I am a designer working on a mobile project and I am experience in using Flash Professional and I am also beginning to get more comfortable with Flex. Is there a reason why I should use Flash Builder 4.5 instead of Flash Pro?  Part of the mobi