dee211 Posted September 28, 2015 Share Posted September 28, 2015 Hi everyoneI 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 More sharing options...
Solution carlos2015 Posted September 28, 2015 Solution Share Posted September 28, 2015 This is a bug from Jasper Server, the problems is explain in this thread:http://stackoverflow.com/questions/7913457/cannot-compile-webapp-sample-of-jasperreportsThe solution is here: http://community.jaspersoft.com/questions/824896/how-use-custom-functions-jar-jasperserver-tooOther solution is use the .jar in only subreports(use methods and functions), not in the main report. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now