Resizing Report on Jasper Server gives error related to custom jar

0

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
15
Joined: Apr 20 2015 - 1:28am
Last seen: 3 years 11 months ago

1 Answer:

0

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

http://stackoverflow.com/questions/7913457/cannot-compile-webapp-sample-...

The solution is here: http://community.jaspersoft.com/questions/824896/how-use-custom-function...

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: 1 year 8 months ago
Feedback
randomness