2001 JI Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: Nandhini - nandhini SAXexception 2002-10-18 08:03hi, These are the exceptions I am getting when I run FontsApp -Tcompile -FFontsReport.xml How do I solve this? "D:jdk1.3.1_03binjava.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:50Hi 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:33Or 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:22Hi 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:34Hi 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:53thanxs I did that and that problem was resolved But I am getting a differebt set of errors that I have posted again 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