SAXexception

0
By: Nandhini - nandhini SAXexception 2002-10-18 08:03 hi, These are the exceptions I am getting when I run FontsApp -Tcompile -FFontsReport.xml How do I solve this? "D:\jdk1.3.1_03\bin\java.exe" FontsApp -Tcompile -FFontsReport.xml org.xml.sax.SAXException: System property org.xml.sax.driver not specified at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source) at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:375) at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:342) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96) at FontsApp.main(FontsApp.java:127) NESTED BY : dori.jasper.engine.JRException: System property org.xml.sax.driver not specified at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:564) at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:342) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:96) at FontsApp.main(FontsApp.java:127) Terminated with exit code 1 By: Victor Amano Izawa - victorsjc RE: SAXexception 2002-10-18 09:50 Hi You can solve the problem with code Java: In your FontsApp.java enter: System.setProperty("org.xml.sax.driver", "org.apache.xerces.parsers.SAXParser"); Or If you use the Ant. in your build.xml <java classname="FontApp" fork="true"> <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/> </java> Victor By: Don Coleman - doncoleman RE: SAXexception 2002-10-18 10:33 Or you can pass the property in on the command line java -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser FontApp By: Victor Amano Izawa - victorsjc RE: SAXexception 2002-10-18 11:22 Hi You can solve the problem with code Java: In your FontsApp.java enter: System.setProperty("org.xml.sax.driver", "org.apache.xerces.parsers.SAXParser"); Or If you use the Ant. in your build.xml <java classname="FontApp" fork="true"> <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/> </java> Victor By: Victor Amano Izawa - victorsjc RE: SAXexception 2002-10-18 12:34 Hi You can solve the problem with code Java: In your FontsApp.java enter: System.setProperty("org.xml.sax.driver", "org.apache.xerces.parsers.SAXParser"); Or If you use the Ant. in your build.xml <java classname="FontApp" fork="true"> <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/> </java> Victor By: Nandhini - nandhini RE: SAXexception 2002-10-21 01:53 thanxs I did that and that problem was resolved But I am getting a differebt set of errors that I have posted again
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 8 years 2 months ago

Answers:

No answers yet
Feedback
randomness