This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Jasper Report Error  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jasper Report Error  " Watch "Jasper Report Error  " New topic
Author

Jasper Report Error

Seetharaman Arumugam
Greenhorn

Joined: Apr 06, 2006
Posts: 2
I am creating jasper report Using Eclipse 3.1 and when i compile the report I am getting below error


org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/features/validation
at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:100)
at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.configureDigester(JRXmlDigesterFactory.java:153)
at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:791)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at mypackage.DataSourceApp.main(DataSourceApp.java:30)

NESTED BY :
org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/features/validation
at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:100)
at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.configureDigester(JRXmlDigesterFactory.java:153)
at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:791)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at mypackage.DataSourceApp.main(DataSourceApp.java:30)

NESTED BY :
net.sf.jasperreports.engine.JRException: Feature: http://xml.org/sax/features/validation
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:210)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at mypackage.DataSourceApp.main(DataSourceApp.java:30)
Caused by: org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/features/validation
at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:100)
at org.apache.commons.digester.Digester.setFeature(Digester.java:546)
at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.configureDigester(JRXmlDigesterFactory.java:153)
at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:791)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
... 4 more


Anyone can solve this problem kindly give me a solution for this
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
Are you using JasperAssistant plugin? If you're, maybe you'll have better luck asking Peter, who is the author of the plugin.

Check out the ANT version used by your Eclipse, is it the latest, 1.6.5? I'd experienced some XML validation errors before when using older ANT versions. Upgrading to latest would solve the issue.

Also, check to ensure that you'll have the required JARs during your build.

If all else fails, you can always compile your JRXML into JASPER using your own Java client. Look into the demo folders for samples.

Cheers!


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jasper Report Error
 
Similar Threads
compileing .jrxml file
Jasper Reports Exception
Jasper reports error in weblogic 8.1
Jasper report error
Caused by: org.xml.sax.SAXNotRecognizedException: http://java.sun.com/xml/jaxp/properties/schemaLang