java.io.StreamCorruptedException:invalid stream header: EFBFBDEF exception.
It turns out this happens because I had the resources filtering enabled in my project and Maven filtered the jasper file, producing in the target folder a file that was different than what I had in my resource folder. Hence, the stream corrupted exception. The solution to solve this is to configure the maven resources plug-in to exclude the .jasper file from filtering like this:<nonFilteredFileExtensions>
<nonFilteredFileExtension>jasper</nonFilteredFileExtension> </nonFilteredFileExtensions>
Thank you man, you saved my day !!
ReplyDeleteTHANKS A LOT!!!!!!!! I would spent hours trying to figure this out.
ReplyDeleteTHANK YOU!!!!!!! you really save me!!
ReplyDeleteGracias!!! muchísimas gracias!!
THANK YOU!!!!!!
ReplyDeleteThank you!!!
ReplyDeleteThank you !
ReplyDeleteThis comment has been removed by the author.
ReplyDeletethank you very much! Your post saved my life.
ReplyDeleteNice! Work like a Charm :D
ReplyDelete