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)