Results 1 to 3 of 3
  1. #1
    Ed
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Posts
    110
    Rep Power
    0

    Default problems with jasperreport

    I have to do some reports in jasper report.
    I need the function that generates the pdf files
    When I execute the applet in the server, this error appears:
    Java Code:
    net.sf.jasperreports.engine.JRException: Error loading expression
    class : reporte_multiple_1179164041828_887410
    at
    net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:87)
    at
    net.sf.jasperreports.engine.design.JRAbstractCompiler.loadEvaluator(JRAbstractCompiler.java:320)
    at
    net.sf.jasperreports.engine.design.JRDefaultCompiler.loadEvaluator(JRDefaultCompiler.java:218)
    at
    net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:410)
    at
    net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:384)
    at
    net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77)
    at
    net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:59)
    at
    net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
    ....
    what is happening?

  2. #2
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    7

    Default

    don't waste your time
    I recommend this tool
    iText: Generate PDF files with Java

  3. #3
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default

    May be your application don't have permission to load class. You should insert these line into
    &#37;install_dir%/appserver/domains/your_domain/config/server.policy file
    Java Code:
    --------------begin----------------
    grant {
    permission java.lang.RuntimePermission "createClassLoader";
    };
    ---------------end---------------------

Similar Threads

  1. Netbeans+java+JasperReport
    By wedage in forum NetBeans
    Replies: 1
    Last Post: 11-08-2008, 12:28 PM
  2. slow JasperReport
    By bbq in forum Advanced Java
    Replies: 3
    Last Post: 02-11-2008, 08:34 AM
  3. GUI problems.
    By saytri in forum New To Java
    Replies: 1
    Last Post: 12-16-2007, 10:27 PM
  4. JasperReport OutOfMemory
    By gustavofranco in forum Advanced Java
    Replies: 0
    Last Post: 07-26-2007, 09:42 PM
  5. problems with JPA
    By Ed in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 05:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •