Jump to content
We've recently updated our Privacy Statement, available here ×

Resizing Report on Jasper Server gives error related to custom jar


dee211
Go to solution Solved by carlos2015,

Recommended Posts

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..?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

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

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

The solution is here: http://community.jaspersoft.com/questions/824896/how-use-custom-functions-jar-jasperserver-too

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...