lovellliu / wikixmlj

Automatically exported from code.google.com/p/wikixmlj
0 stars 0 forks source link

Gettting Error #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
I am just calling the constructor and then parse.
I get the following error -:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tools/bzip2/CBZip2InputStream
        at edu.jhu.nlp.wikipedia.WikiXMLParserFactory.getSAXParser(WikiXMLParserFactory.java:15)
        at tempProject.Main.main(Main.java:41)
Caused by: java.lang.ClassNotFoundException: 
org.apache.tools.bzip2.CBZip2InputStream
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 2 more
Java Result: 1

What version of the product are you using? On what operating system?
wikixmlj-r43.jar on Ubuntu 10.10

Please provide any additional information below.

Original issue reported on code.google.com by saketbha...@gmail.com on 19 Jan 2011 at 6:49

GoogleCodeExporter commented 9 years ago
This is not an issue. Please make sure you are having the bizp2.jar in your 
classpath. (Available here http://www.kohsuke.org/bzip2/bzip2.jar)

This is pointed in the last line of the project home page.

Original comment by delip...@gmail.com on 25 Feb 2011 at 1:19