Share

jAudio

Tracker: Bugs

5 SAXParser - ID: 2768531
Last Update: Tracker Item Submitted ( cbefus )

For those who get the below runtime error when attempting to run from
console using "java -Xmx1024M -jar jAudio.jar"

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xerces/parsers/SAXParser
at
jAudioFeatureExtractor.ACE.XMLParsers.XMLDocumentParser.parseXMLDocument(XM
LDocumentParser.java:72)
at jAudioFeatureExtractor.DataModel.<init>(DataModel.java:168)
at jAudioFeatureExtractor.Controller.<init>(Controller.java:248)
at jAudioFE.main(jAudioFE.java:26)

The problem is: not only do you need JRE installed but you must also have
Xerces-j installed as well. To do this get the xerces release from
http://xerces.apache.org/xerces-j/ and add the .jar files within to your
CLASSPATH environment variable. A tutorial can be found at:
http://www.cse.lehigh.edu/~heflin/courses/sw-2003/xerces-trouble.html

The reason I put this in the bug section is because it will appear to be a
bug to anyone who finds it (like I did a couple hours ago) and hopefully
they will look here for the answer. Perhaps this information should be
added to the install directions?

Thanks for the program!


Chad Befus ( cbefus ) - 2009-04-16 13:00

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.