Upgrade to Java8 failing for jasper grails plugin

I just asked this question here http://stackoverflow.com/questions/40980576/upgrade-to-java8-failing-for-jasper-grails-plugin

But there's a specific question I should ask here, too. Does Jasperreports 5.6.1 work on Java 8? I'm getting the following error when I upgrade from Java 7 to Java 8 on my grails server:

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
 
 

 Thanks for any advice.

amos.anderson's picture
Joined: Dec 1 2016 - 10:04am
Last seen: 6 years 3 months ago

2 Answers:

No. JasperReports 5.6.x does not work with Java8.

hozawa's picture
176403
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago

Hello Hozawa, thanks for your response. I should mention that I dicovered that upgrading Tomcat from version 7 to 8 fixed the exception I posted and it looks like I can generate a JasperReport ok.

So I'm wondering if there's a listing for which features do and do not work on Java 8. Is there a way I could see a listing of which unit tests pass/fail when TIBCO runs this JasperReports on java 8?
 

amos.anderson's picture
Joined: Dec 1 2016 - 10:04am
Last seen: 6 years 3 months ago
Feedback