Jump to content

jasperreports-mysql-1.0.2 Exception: SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not


wolfgangihloff

Recommended Posts

I see the following error when starting jasper-mysql.jar:

 debian:/mnt/hgfs/vmshare/jasper/jasperreports-mysql-1.0.2/dist# java -jar jasper-mysql.jar cofigure.xml 

java.lang.ClassNotFoundException: org.apache.crimson.parser.XMLReaderImpl
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:189)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:150)
at net.sf.jasperreports.mysql.Daemon.loadConfig(Unknown Source)
at net.sf.jasperreports.mysql.Daemon.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.crimson.parser.XMLReaderImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:49)
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:187)
... 3 more
Exception: SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not found
You probably enterd a bad filename.
 
I am on Debian Lenny:
debian:/mnt/hgfs/vmshare/jasper/jasperreports-mysql-1.0.2/dist# dpkg --list |grep java
ii  java-common                       0.30                       Base of all Java packages
ii  libbcel-java                      5.2-3                      Analyze, create, and manipulate (binary) Java class files
ii  libcommons-beanutils-java         1.8.0~beta-1               utility for manipulating JavaBeans
ii  libcommons-collections-java       2.1.1-8                    A set of abstract data type interfaces and implementations
ii  libcommons-collections3-java      3.2.1-1                    A set of abstract data type interfaces and implementations
ii  libcommons-daemon-java            1.0.2~svn20061127-9        library to launch Java applications as daemons
ii  libcommons-dbcp-java              1.2.2-1                    Database Connection Pooling Services
ii  libcommons-digester-java          1.8-1                      Rule based XML Java object mapping tool
ii  libcommons-el-java                1.0-4                      Implementation of the JSP2.0 Expression Language interpreter
ii  libcommons-launcher-java          1.1-3                      cross platform java application launcher
ii  libcommons-logging-java           1.1.1-1                    commmon wrapper interface for several logging APIs
ii  libcommons-modeler-java           2.0.1-4                    convenience library to use Java Management Extensions (JMX)
ii  libcommons-pool-java              1.3-1                      pooling implementation for Java objects
ii  libcrimson-java                   1:1.1.3-10                 XML parser which support the Java API for XML Processing (JAXP
ii  libecj-java                       3.3.0+0728-9               Eclipse Java compiler (library)
ii  libecj-java-gcj                   3.3.0+0728-9               Eclipse Java compiler (native library)
ii  libjaxp1.3-java                   1.3.04-3                   Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)
ii  libjaxp1.3-java-gcj               1.3.04-3                   Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)
ii  libjcommon-java                   1.0.10.dfsg-1              General Purpose library for Java
ii  libloader-java                    0.3.6-3                    Java general purpose resource loading framework
ii  liblog4j1.2-java                  1.2.15-4                   Logging library for java
ii  liblog4j1.2-java-gcj              1.2.15-4                   Logging library for java (native code)
ii  libmx4j-java                      3.0.2-4                    An open source implementation of the JMX technology
ii  libpixie-java                     1:0.8.8-1                  Java Vector Format Viewer Library
ii  libregexp-java                    1.4-5                      regular expression library for Java
ii  libservlet2.3-java                4.0-10                     Servlet 2.3 and JSP 1.2 Java classes and documentation
ii  libservlet2.4-java                5.0.30-8                   Servlet 2.4 and JSP 2.0 Java classes and documentation
ii  libtomcat5.5-java                 5.5.26-5                   Java Servlet engine -- core libraries
ii  libxerces2-java                   2.9.1-2+lenny1             Validating XML parser for Java with DOM level 3 support
ii  libxerces2-java-gcj               2.9.1-2+lenny1             Validating XML parser for Java with DOM level 3 support (nativ
ii  libxml-java                       0.9.9-2                    namespace aware SAX-Parser utility library
ii  sun-java6-bin                     6-22-0lenny1               Sun Java Runtime Environment (JRE) 6 (architecture depende
ii  sun-java6-jdk                     6-22-0lenny1               Sun Java Development Kit (JDK) 6
ii  sun-java6-jre                     6-22-0lenny1               Sun Java Runtime Environment (JRE) 6 (architecture indepen
ii  tzdata-java                       2011c-0lenny1              time zone and daylight-saving time data for 
 
Any clues what leads to this? I saw that the mysql dba has not been updated/maintained for a long time, last time 2005 it seems. Is there any more recent branch or project working on it?

Thanks,
Wolfgang
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...