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.SimpleFileResolver
How can we resolve it?
Thanks,
1 Answer:
Posted on June 23, 2013 at 1:15am
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, Thomas
Thank you very much.