Caused by: org.exolab.castor.xml.MarshalException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.{File: [not available]; line: 1; column: 1} at org.exolab.castor.xml.Unmarshaller.convertSAXExceptionToMarshalException(Unmarshaller.java:919) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:775) at net.sf.jasperreports.util.CastorUtil.read(CastorUtil.java:399)