recursoshumanos001 Posted June 21, 2013 Share Posted June 21, 2013 Hi,We are using JR 4.5 in an application deployed on Jboss 7.0 cluster. We are getting the following error:java.io.NotSerializableException: net.sf.jasperreports.engine.util.SimpleFileResolverHow can we resolve it?Thanks, Link to comment Share on other sites More sharing options...
Solution Thomas Zimmer Posted June 23, 2013 Solution Share Posted June 23, 2013 The SimpleFileResolver uses a java.util.List which is not serializeable. Looking at the source, I assume the simplest way to get around would be to implement your own FileResolver (implement the net.sf.jasperreports.engine.util.FileResolverInterface, copy from SimpleFileResolver and use an ArrayList instead of List)Cheers, Thomashttp://www.thomaszimmer.net Link to comment Share on other sites More sharing options...
recursoshumanos001 Posted June 23, 2013 Author Share Posted June 23, 2013 Thank you very much. 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