Jump to content
We've recently updated our Privacy Statement, available here ×

msescott

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by msescott

  1. The latter. Until now we have simply been using 2 jar files among all of our other jars in a lib folder. One is the Jasper Reports JAR and the other is a jar with the JDT core code. Prior to JDK8, everything worked by itself when loading/compiling Jasper jrxml files on the fly from Java code.
  2. Here's what I did:

    - I downloaded ecj-4.4.1.jar for the JDT core compiler

    - I pointed my project's class path to include that jar and removed any reference to any other JDT core jar

    - (I looked into jasper 5.6.1 but the jar file didn't have any pom.xml file so it must configure things differently, so I stayed with jasper 3.7.1.1)

    - I got into jasperreports-3.7.1.1.jar then META-INFmavenjasperreportsjasperreports and edited the pom.xml within that folder with the following changes:

    net.sf.jasperreports

    jasperreports

    3.7.1.1

    eclipse

    jdtcore

    eclipse

    ecj

    4.4.1

    compile

    - even after I rebuild and restart my project, I keep getting the following When my Java code calls: JasperCompileManager.compileReportToFile(JasperDesign p1, String p2);

     

    org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

    at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.(ClassFileReader.java:329)

     

×
×
  • Create New...