Home > error creating > error creating sax parser jasperreports

Error Creating Sax Parser Jasperreports

Community Contact Login/Register Download Now ProductsAnswersExchangeDocsWikiPlanetTracker You are hereHome » Answers » JRRuntimeException: Error creating SAX parser JRRuntimeException: Error creating SAX parser Posted on May 13, 2010 at 5:43am 0 Hi, We need to upgrade JasperReports developed in iReport2.0.1 to iReport 3.0.0 report designer.   I updated all of our JRXML files by loading and saving in iReport 3.0.0 to use the new format. When I compile reports using ant (apache-ant-1.7.0) compiler="net.sf.jasperreports.engine.design.JRJavacCompiler" by setting xmlvalidation to "false" I get the following exception:   net.sf.jasperreports.engine.JRRuntimeException: Error creating SAX parser.   kindly suggest to resolve the above isuue JasperReports Library poornima 4 Joined: May 9 2010 - 11:14pm Last seen: 6 years 5 months ago 6 Answers: 0 Posted on May 18, 2010 at 8:58am Please post the full exception stacktrace and a sample JRXML file. Regards, Lucian lucianc 6356 Joined: Jul 17 2006 - 1:10am Last seen: 3 days 15 hours ago 0 Posted on May 18, 2010 at 10:14pm Hi Lucian, Thanks for ur reply. I am compiling jrxml file through ant command it does not give any stack trace its just saying net.sf.jasperreports.engine.JRRuntimeException: Error creating SAX parsser at the particular line in build.xml: . and my class path includes the following jars .. commons-beanutils-1.7.jar commons-collections-3.2.1.jar commons-digester-1.7.jar commons-logging-1.1.jar jasperreports-3.5.1.jar jdt-compiler-3.1.1.jar xalan.jar xercesImpl.jar xml-apis.jar poi-3.2-FINAL-20081019.jar jxl.jar ant.jar please suggest any other jars need to be included in the class path. find the attached jrxml sample report created using iReport-nb-3.5.1 ireporttool.(As the requirement changed,we need to upgrade from iReport2.0.1 to iReport 3.5.1) I tried to compile both in JDL1.4 and JDK1.6.Its not getting compiled in both the environments.please help us to resolve the above issue. The below code we are using for compiling JRXML. Code: