Classloading error: package net.sf.jasperreports.engine does not exist

Hi all!
We are migrating one of our web applications to SAP Web AS (Netweaver CE SR5) but we are facing one problem with finding an external library (Jasper Report).
Our web application uses Spring and Hibernate and works fine in Tomcat 5.5 or higher.
The problem is that the package net.sf.jasperreports.engine cannot be found (stack below) despite the jasper report jar is included inside the WEB-INF/lib dir of our WAR.
Our application´s structure is as follows:
cpl.ear
cpl.ear/lib (hibernate´s and other thirdy party jars)
cpl.ear/Cockpit_oracle9_3_5_0.war
cpl.ear/Cockpit_oracle9_3_5_0.war/WEB-INF/lib/jasperreports-1.3.1.jar
Does any body know why the application can´t find the jasper report packages?
Thanks and regards.
Ballock.
#1.5 #001EC91DBA01002200000002000007900096BE50A0E2AB09#1219343345836#/System/Server/WebRequests#JavaEE/cpl#com.sap.engine.services.servlets_jsp.server.application.WebEvents#Guest#916####88ee30106eff11dd8e03001ec91dba01#Application ##0#0#Warning#1#com.sap.engine.services.servlets_jsp.server.application.WebEvents#Plain###Error occured in invoking event "contextInitialized()" on listener class org.springframework.web.context.ContextLoaderListener.
The error is: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.load.report' defined in class path resource spring/model.services.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class br.com.neolog.system.load.LoadReport: Constructor threw exception; nested exception is java.lang.IllegalStateException: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
C:
usr
sap
CE1
J00
j2ee
cluster
server0
loadReport_1219343342726_788986.java:4: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
C:
usr
sap
CE1
J00
j2ee
cluster
server0
loadReport_1219343342726_788986.java:5: package net.sf.jasperreports.engine.fill does not exist
import net.sf.jasperreports.engine.fill.*;
^
C:
usr
sap
CE1
J00
j2ee
cluster
server0
loadReport_1219343342726_788986.java:14: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
C:
usr
sap
CE1
J00
j2ee
cluster
server0
loadReport_1219343342726_788986.java:15: package net.sf.jasperreports.engine.data does not exist
import net.sf.jasperreports.engine.data.*;
^
C:
usr
sap
CE1
J00
j2ee
cluster
server0
loadReport_1219343342726_788986.java:21: cannot find symbol
symbol: class JREvaluator
public class loadReport_1219343342726_788986 extends JREvaluator
                                                     ^
C:
usr
sap
CE1
J00
j2ee
cluster
server0
loadReport_1219343342726_788986.java:28: cannot find symbol
symbol  : class JRFillParameter
location: class loadReport_1219343342726_788986
    private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
            ^
C:
usr
sap
CE1
J00
j2ee
cluster
server0
loadReport_1219343342726_788986.java:29: cannot find symbol
symbol  : class JRFillParameter
location: class loadReport_1219343342726_788986
    private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
Obs.: The stack above is just a part of the total error log
Edited by: Ballock on Aug 21, 2008 9:46 PM

I also tried to move the jasperreports-1.3.1.jar file to the cpl.ear/lib dir but the problem still happened.
Please, does anybody know how to deal with this problem?
Thanks and regards.
Ballock.

Similar Messages

  • Getting an error package ..... does not exist

    Hi,
    I am trying to learn Java through Sams Teach Yourself Java 6. In the book it asked me to create a directory called
    c:\dev\java\org\cadenhead\ecommerce
    I have added the c:\dev\java into the CLASSPATH variable in Vista
    The program I am trying to compile is in another directory called c:\JavaWrk
    I am getting an error when I compile the code, the first error is
    GiftShop.java:1: package org.cadenhead does not exist
    import org.cadenhead.ecommerce;
    ^
    The rest of the error is because the program is trying to invoke methods that are in the class file located in the package subdirectory.
    Here is the program I am trying to compile
    import org.cadenhead.ecommerce;
    public class GiftShop {
         public static void main(String[] args) {
              Storefront store = new Storefront();
              store.addItem("C01", "MUG", "9.99", "150");
              store.addItem("C02", "LG MUG", "12.99", "82");
              store.addItem("C03", "MOUSEPAD", "10.49", "800");
              store.addItem("C04", "T SHIRT", "16.99", "90");
              store.sort();
              for (int i = 0; i < store.getSize(); i++) {
                   Item show = (Item)store.getItem(i);
                   System.out.println("\nItem ID:" + show.getId() +
                        "\nName:" + show.getName() +
                        "\nRetail Price: $" + show.getRetail() +
                        "\nPrice: $" + show.getPrice() +
                        "\nQuantity: " + show.getQuantity());
    I also tried compiling the file using the command "javac -cp c:\dev\java GiftShop.java" adn still gets the error.
    I did not want to leave the chapter without resolving the issue. Any help will be much appreciated.

    ok baftos
    I tried running the program using "java -cp c:\dev\java GiftShop" and getting an error.
    Exception in thread "main" java.lang.NoClassDefFoundError: GiftShop
    Caused by: java.lang.ClassNotFoundException: GiftShop
    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)
    Could not find the main class: GiftShop. Program will exit.
    both .java and .class files are in the same directory.
    Apologies for all this beginner questions, I only started encountering this errors when I started to learn how to create package.

  • Build Issue(package weblogic.jdbc.vendor.oracle does not exist) weblogic10

    Hi All,
    I am getting below build error. I am migrating weblogic 10. Which jar file contains this interface: weblogic.jdbc.vendor.oracle.OracleThinClob?
    Error:
    package weblogic.jdbc.vendor.oracle does not exist [javac] if (theClob instanceof weblogic.jdbc.vendor.oracle.OracleThinClob)
    I already got weblogic.jar file from weblogic 10.
    Thanks,
    Srinivas

    Srinivas U wrote:
    Hi All,
    I am getting below build error. I am migrating weblogic 10. Which jar file contains this interface: weblogic.jdbc.vendor.oracle.OracleThinClob?
    Error:
    package weblogic.jdbc.vendor.oracle does not exist [javac] if (theClob instanceof weblogic.jdbc.vendor.oracle.OracleThinClob)
    I already got weblogic.jar file from weblogic 10.
    Thanks,
    SrinivasIt's in the datasource module/jar: modules/com.bea.core.datasource_1.0.0.0.jar

  • Eclipse:package weblogic.webservice.tools.wsdlp does not exist

    Hi, everyone! I got an error While I was Compiling the Entire MedRec Project application on Eclipse3.1 with ant. However, when I used setEnv.cmd and ant command(), it's all Ok! The error message shows as below:
    banner:
    [echo] #### S T A R T C O M M O N W E B A P P ####
    [mkdir] Created dir: C:\medrec_tutorial\build\tmp
    build:
    [javac] Compiling 23 source files to C:\medrec_tutorial\build\tmp
    [javac] C:\medrec_tutorial\src\common\web\com\bea\medrec\utils\MedRecWebAppUtils.java:319: package weblogic.webservice.tools.wsdlp does not exist
    [javac] if (th instanceof weblogic.webservice.tools.wsdlp.WSDLParseException) {
    [javac] ^
    [javac] 1 error
    BUILD FAILED
    file:C:/medrec_tutorial/src/common/web/build.xml:29: Compile failed; see the compiler error output for details.

    Bruce Stephens <[email protected]> wrote:
    Hello,
    This looks like a bug that has already been reported and resolved. If
    you could provide your test case to our super support group [1], and
    reference CR127344, they should be able to sort out this issue.
    Thanks,Hi ,
    I also got the same error.If u find the solution please email me
    isuru [email protected]
    Thanx
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    Franck wrote:
    Hello,
    when I try to build my webservice with a stateless bean and a complexdata type (byte[]), by using ANT and SERVICEGEN.
    I have the following exception (with WL 8.1, but it works witout problemwith WL 7.0.4).
    *** ERROR:
    -package weblogic.xml.schema.binding does not exist
    [servicegen] extends weblogic.xml.schema.binding.BeanCodecBase
    What has changed between the both version.
    can somebody help me
    Tank you
    Regards

  • Package org.jdesktop.jdic.browser does not exists

    I am geting error
    'package org.jdesktop.jdic.browser does not exists' after moving to JDK 1.6_27 from 1.5_06
    Which jar file do i have to add for this error to go away?
    Can anyone helpme with the file name and path to download from?
    Thanks

    Thanks for the reply.I have moved to java 6 now and I dont want to use JDIC as no documentaion or download is available .
    Is there any alternative for jdic web browser in Java 6.
    Earlier in Java 5 I was using the below code to embedd the browser in the jpanel
    org.jdesktop.jdic.Webbrowser webbrowser=new WebBrowser
    webBrowser.seturl(pdfUrl)
    Jpanel testPanel=new jPanel();
    jpanel.add(webBrowser,BorderLayout.CENTER)
    here pdfURl is the url of a pdf file which I want to open in browser which is embed in jpanel.
    How can I do the same thing without the webbrowser.
    I read the java.awt.desktop browse method but it opens in a new window ,how can I embedd it in the jpanel?
    Please help.

  • Error :  java:6: package com.crystaldecisions.sdk.framework does not exist

    Hi All,
    I am using BO XI R2 version.
    I am facing issues with BOE Java SDK web application.
    In this application, I have just by-passed login page(jsp page) and logout from BO. But, it is throwing errors as mentioned below:
    Generated servlet error:
    E:\BusinessObjects\Tomcat\work\Catalina\localhost\_\org\apache\jsp\BO_005fHello_005fWorld\login_jsp.java:6: package com.crystaldecisions.sdk.framework does not exist
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    Application gives errors for these two packages:
    package com.crystaldecisions.sdk.framework
    package com.crystaldecisions.sdk.exception
    Can anyone please tell me the solution?
    From where I can get the jar files to resolves these problems?
    I tried to search these jar files in BO installation folder but was not able to get.
    Can anyone tell the exact folder path for these jar files, if it is there.
    Or any link to download jar files.
    Thanks in advance.

    Hello ,
    -In order to run your application, please copy the Business Objects JAR files from the installed location.
    -For example : If you have installed Business Objects on C:
    then , go to the path :
    C:\Program Files\Business Objects\common\3.5\Java\Lib and copy all the Jar files from that location including JAR files that are present in the external folder.
    -Paste these JAR files inside lib folder of your application.
    -The class com.crystaldecisions.sdk.framework comes under cesession.jar
    Thanks,
    Chinmay

  • Package import ncsa.j3d.*; does not exist

    Hi, i'm working on a 3d game for my fyp and am haveing trouble importing the package import ncsa.j3d.*; and the package import ncsa.j3d.loaders.*; Net Beans keeps giving me an error saying package import ncsa.j3d.*; does not exist and package import ncsa.j3d.loaders; does not exist!!!
    Any help would be terrific, I'm running under windows xp, amd mobile.

    I'm having the same problem, have you figured it out yet?

  • SQL Error: ORA-00942: table or view does not exist + CX_RS_SQL_ERROR

    HI ,
    we are facing below issue while activating info object xxxxxxxx
    " SQL Error: ORA-00942: table or view does not exist "  and   " CX_RS_SQL_ERROR  "
    can any one help us out to resolve this issue.
    Thanks,
    EDK......

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Error handling function: ORA-20001: get_dbms_sql_cursor error:ORA-00942: table or view does not exist  is not trapped. Why?

    Why APEX 4.1 Error handling function does not trap  the error of missing table?
    Say, I create simple application with single IR report page and I also assign standard simple error handling function.
    Function works perfectly, except but this case:
    If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
    ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
    and error handling function is not invoked at all.
    Is this a feature or a bug?

    Hi,
    Check the corrections given in the note 990764:
    Reason and Prerequisites
    Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
    ORA-00942: table or view does not exist
    Fehler in CL_SQL_RESULT_SET  Include NEXT_PACKAGE
    RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
    Solution
    SAP NetWeaver 2004s BI
               Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
    In urgent cases you can implement the correction instructions.
    The correction instructions contain the tightened inspection for characteristics.
    Regards,
    Anil Kumar Sharma .P

  • Package com.borland.jbcl.layout does not exist

    im using JBuilder X and getting this error message:
    package com.borland.jbcl.layout does not exist
    considering that JBuilder has some problem i compiled the classes using command prompt but even then the same error appeared. plz help me its part of my final project of a courde.
    Some ppl in diff forums have said that jbcl has been deprecated but making gui in JBuilder is much easier. and i only know of making frames in XYLayout,,,,,,,
    If i dont have the package plz let me know how can i get it and if i have it then tell me how can it get it and where and how to install

    Put the jars or classes in the com.borland.jbcl.layout package into your CLASSPATH. You have referenced them in your program, the compiler is looking for them, but it cannot find them, so it cannot compile your program.

  • Error TF10175 The FMS team project does not exist

    We are using TFS and Visual Studio 2013. TFS was working fine for me. However we have to do some Java development and also wanted that code in source control in the project.  I was the lucky one (or not) volunteered to head this up.  I installed
    Eclipse and the TFS plugin for Eclipse now I am unable to use Visual Studio 2013 and the Source Control explorer to open other .Net based pieces to the solution without getting the following error:
    Error
    TF10175: The FMS team project does not exist.
    This only happens for me and since I installed the Eclipse TFS Plugin.  I also get the error when I try to get the latest code.  Is there an issue in using the TFS plugin for Eclipse and Visual Studios?
    R. K. Walters

    Hi Walters,  
    Thanks for your post.
    As you’re using TFS Eclipse, I moved this post to TFS Eclipse and Cross Platform forum for the better response.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Package com.sun.java_cup.internal does not exists

    I installed JDK 1.6_27 and jre 1.6_27 on a Windows 7, 64 bit
    and fetched Java Code which use to run with java version 1.5_06.We are doing a java update.I am getting the error message
    com.sun.java_cup.internal does not exist.
    Does that mean my Java is not installed properly?Where to check if java_cup is present in my system or not
    Please help
    Thanks,

    Looks like the developers of that code relied on something that is not part of the official documented Java API (packages that start with java, javax or org). Packages starting with sun or com.sun are Sun proprietary internal implementation packages and as such are not guaranteed to be available from version to version or from Java vendor to Java vendor. So your installation seems ok, but your program is not.

  • An error has occurred: The plugin -65221 does not exist in the CMS

    Hi,
    I already raised this issue before and I thought this is already fixed. Everytime I upload this Crystal Report and try to schedule it using the RESCHEDULE window, I can't change the parameters. Everytime I click on the value of each parameter, the following error displays:
    "An error has occurred: The plugin -65221 does not exist in the CMS"
    What can be the cause of this and how can I resolve this? We are using Business Objects XI R2 with SP2 and Crystal Reports XI.
    Thanks.

    Hello Neozeke,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • An Error has occured:The plugin 65534 does not exist in the CMS (FWM 02017)

    Hi,
    I get the error when I click on Parameter option while rescheduling Crystal Reports from Infoview. I can schedule the reports successfully, the error is only while rescheduling.
    The error is as follows:
    An error has occurred: The plugin -65534 does not exist in the CMS (FWM02017)
    Environment - BOXI 3.1 with Windows AD
    Application server - Tomcat
    Would appreciate any help.
    Regards,
    Anisa

    Hello Anisa,
    Are you able to solve the issue...
    We are also getting same issue. if you are able to resolve the issue. please let us know the setps you followed it will be of great help.
    Thank You,
    Regards,
    Satheesh Reddy. R.

  • ERROR ORA-00942: table or view does not exist

    Hi:
    I created a .sql file and a loader file. Running the .sql file with sql * plus Worksheet:
    declare
    gr sdo_georaster;
    begin
    select image into gr from gis.RasterImages where geoid=1 for update;
    sdo_geor.generatePyramid(gr,'resampling=NN');
    update gis.RasterImages set image=gr where geoid=1;
    commit;
    end;
    I trying to create a pyramid,but the error appeared:
    ERROR at line 1:
    ORA-29400: DATA CONTROL ERROR ORA-00942: table or view does not exist
    ORA-06512: &#22312; "MDSYS.SDO_GEOR_INT", line 162
    ORA-06512: &#22312; "MDSYS.SDO_GEOR", line 826
    ORA-06512: &#22312; line 5
    I don't know why?
    Anyone can help me?
    Thanks.

    Hi,
    I think you are executing the select statement for schema X and the table is in the schema srnr.
    And schema X is not having select privilege on the table 'students' present in schema srnr.
    Goto schema srnr.
    Execute the following statement:
    grant select on students to X;
    This will give schema X the privilege to query the table students present in srnr.
    Regards,
    Anupama

Maybe you are looking for