skatsnc Posted October 15, 2008 Share Posted October 15, 2008 I am getting this error and don't know how to correct it: MyEventQueue.dispatchEvent: Exception during dispatch event: net.sf.jasperreports.engine.JRRuntimeException: Error creating SAX parsernet.sf.jasperreports.engine.JRRuntimeException: Error creating SAX parser at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.createParser(JRReportSaxParserFactory.java:113) at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createParser(JRXmlDigesterFactory.java:1131) at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:1106) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:203) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)....Caused by: org.xml.sax.SAXNotRecognizedException: http://java.sun.com/xml/jaxp/properties/schemaLanguage at gnu.xml.aelfred2.XmlReader.getProperty(XmlReader.java:181) at gnu.xml.aelfred2.XmlReader.setProperty(XmlReader.java:166) at gnu.xml.aelfred2.JAXPFactory$JaxpParser.setProperty(JAXPFactory.java:147) at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.configureParser(JRReportSaxParserFactory.java:144) at net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.createParser(JRReportSaxParserFactory.java:108) It hits on this line: JasperDesign jasperDesign = JRXmlLoader.load(reportSource);I created a simple basic report in ireport that the reportSource string points towards. Is it possible that I'm not including a jar or something? I have the JasperLibrary added to my project then have all the imports that it asked for, but are there ones i need to include extra as well?Thanks Link to comment Share on other sites More sharing options...
galbelli Posted October 16, 2008 Share Posted October 16, 2008 Are you using the same jasper report and ireport versions? Link to comment Share on other sites More sharing options...
skatsnc Posted October 17, 2008 Author Share Posted October 17, 2008 Yea, I'm pretty sure I am. Link to comment Share on other sites More sharing options...
console Posted November 13, 2008 Share Posted November 13, 2008 Were you able to resolve this issue? What version of Jasper were you using? I have no problems on windows but on Unix I get the same error. Since it is Java AP, the OS should not matter Link to comment Share on other sites More sharing options...
yapkm01 Posted June 24, 2009 Share Posted June 24, 2009 Hello .. i am also having exactly the same issue. Did you manage to solve the problem? Appreciate if you could share if you have solved it. /tools/fckeditor/editor/images/smiley/msn/regular_smile.gif Link to comment Share on other sites More sharing options...
Teodor Danciu Posted July 14, 2009 Share Posted July 14, 2009 Hi, Just by looking at the stack trace, you seem to rely on this "gnu.xml.aelfred2" XML parser which simply does not support a feature that we are relying upon when parsing JRXML files.You should consider adding the Xerces parser to your classpath. You can find it in the /lib directory of the JR project distribution. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
sahil9.upadhyay Posted December 31, 2012 Share Posted December 31, 2012 would please any one suggest how to solve the :Error creating SAX parser..??..its urgent Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now