java.io.StreamCorruptedException: invalid stream header: EFBFBDEF
问题 I'm developing an java web application, where I'm using maven like tool of project managmentand now I'm becaming crazy with this problem. I try to build an jasper report from my application, this report is composed from many sub-report that i have in the src/main/resources. I try to load these subreports in the following way: //Sub Report 1 InputStream fileSubRep1=(BufferedInputStream) getClass().getResourceAsStream("/fileSubReport1.jasper"); map.put("fileSubRep1",(JasperReport) JRLoader