Resizing Report on Jasper Server gives error related to custom jar


Hi everyone

I have a report that works perfectly fine. I have a custom jar that simply modifies big numbers according to user preference formatting. Not a big deal.

The issue I have is that whenever I use the +/- buttons in the server to resize the report I get this error:

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

followed by the error: unable to resolve class.

But it resolves the class fine when it's first loaded..?

dee211's picture
Joined: Apr 20 2015 - 1:28am
Last seen: 4 years 11 months ago

1 Answer:


This is a bug from Jasper Server, the problems is explain in this thread:

The solution is here:

Other  solution is use the .jar in only subreports(use methods and functions), not in the main report.

carlos2015's picture
Joined: Apr 13 2015 - 11:29am
Last seen: 2 years 9 months ago