Fixing JasperReports net.sf.jasperreports.engine.JRRuntimeException: Error creating SAX parser

Posted on 1 CommentPosted in Uncategorized

While upgrading machines I have upgraded to run jdk 1.6 which have screwed up compiling of my reports with following error. C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\endorsed Source File:c:/Users/greg/report2.jrxml Exception in thread "main" net.sf.jasperreports.engine.JRRuntimeException: Error creating SAX parser at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.createParser(JRReportSaxParserFactory.java:109) at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createParser(JRXmlDigesterFactory.java:1320) at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:1295) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:199) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:164) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:148) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:85) at com.americanbanksystems.complianceproreports.util.CompileReport.compileReport(CompileReport.java:133) at com.americanbanksystems.complianceproreports.util.CompileReport.main(CompileReport.java:189) Caused by: […]