Hello,
I was using the s-space package for the first time. I downloaded the source package from:
https://github.com/fozziethebeat/S-Space/ , then I compile it with: mvn compile. Also I test it using "mvn test" and got no failures.
However, when I ran the code using the following command:
java -cp target/classes edu.ucla.sspace.mains.VsmMain -d data/wiki.sample data/wiki_output/
I got the following errors:
java.lang.NoClassDefFoundError: gnu/trove/map/TObjectIntMap
at edu.ucla.sspace.common.GenericTermDocumentVectorSpace.processDocument(GenericTermDocumentVectorSpace.java:199)
at edu.ucla.sspace.mains.GenericMain$1.run(GenericMain.java:586)
at edu.ucla.sspace.util.WorkQueue$CountingRunnable.run(WorkQueue.java:361)
at edu.ucla.sspace.util.WorkerThread.run(WorkerThread.java:110)
Caused by: java.lang.ClassNotFoundException: gnu.trove.map.TObjectIntMap
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)
... 4 more
It seems that there is no gnu.trove in the package. I found no "lib" folder either.
I am wondering how could I solve it? Thank you very much!
Jiang