I can't compile tempaltes with JRJdtCompiler because jdtcore:3.1.0 does not support java 8.
Caused by: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
I can't use JRJdk13Compiler, cause it can't compile templates which use functions.
symbol: method DATEFORMAT(Date,String) location: class report_1414506137290_237400 /Users/Mariusz/Work/coresuite-cloud/dataCloud/report_1414506137290_237400.java:255: error: cannot find symbol value = DATEFORMAT(((...
I know Java 8 is not yet supported, but is there some workaround? If not, is there some ETA? I wouldn't like to implement my own JRCompiler.
I tried simple update of eclipse jdt lirbary and it seems to be working.
<dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>5.6.1</version> <exclusions> <exclusion> <groupId>eclipse</groupId> <artifactId>jdtcore</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.jdt.core.compiler</groupId> <artifactId>ecj</artifactId> <version>4.4</version> </dependency>