Jump to content
We've recently updated our Privacy Statement, available here ×

console

Members
  • Posts

    4
  • Joined

  • Last visited

console's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I have updated to the new version of Jasper reports in the hope of eliminating my problem. No such luck however. Things work fine on Windows, but not so much on Unix. [echo] Java Version: 1.5 [echo] Ant Version: Apache Ant version 1.6.5 compiled on June 2 2005 net.sf.jasperreports.engine.JRRuntimeException: Error creating SAX parser I am attaching the complete classpath listing as a text attachment.
  2. 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
  3. We have no problems on a Windows machine, but get the error in the Unix environment. [echo] Java Version: 1.5 [echo] Ant Version: Apache Ant version 1.6.5 compiled on June 2 2005
  4. The following piece of code in ANT produces the error mentioned below. I have verified the that the JRAntCompileTask in ANT has xerces in the path. How do I get the task to use xerces instead of crimson. I do have this line but not sure where to inject it. <sysproperty key="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser"/> Any help is appreciated. Thanks. Code:<target name="jasper-compile"> <taskdef name="jrc" classname="net.sf.jasperreports.ant.JRAntCompileTask" > <classpath refid="classpath.path" /> </taskdef> <jrc destdir="${dir.source.reports}"> <src> <fileset dir="${dir.source.reports}"> <include name="**/*.jrxml" /> </fileset> </src> <classpath refid="classpath.path" /> </jrc></target></target>jasper-compile: [echo] Report Folder: ./doc-root/reports [jrc] Compiling 10 report design files. [jrc] 6 [main] ERROR digester.Digester - Digester.getParser: [jrc] org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic [jrc] at org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:204) [jrc] at org.apache.crimson.jaxp.SAXParserImpl.setFeatures(SAXParserImpl.java:143) [jrc] at org.apache.crimson.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:126) [jrc] at org.apache.crimson.jaxp.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:113) [jrc] at org.apache.crimson.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:141) [jrc] at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185) [jrc] at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)
×
×
  • Create New...