mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 周峰 <>
Subject i have met a problem when i do "Creating Vectors from Text"
Date Wed, 21 Oct 2009 08:04:45 GMT
At first,i have  built a Lucene index in my directory
"/home/zhoufeng/newdisk/newindex",then i want to create Vectors from the
index files.
then i met a problem
root@master:/home/zhoufeng/mahout/trunk/utils/target# java -cp
org.apache.mahout.utils.vectors.lucene.Driver --dir
/home/zhoufeng/newdisk/newindex string --dictOut
/home/zhoufeng/newdisk/newindex/dict.txt --output
/home/zhoufeng/newdisk/newindex/out.txt -max 50
Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClassInternal(
Could not find the main class:
org.apache.mahout.utils.vectors.lucene.Driver.  Program will exit.

i do not know where is the java file
Is It because some jar file is absent?

can anyone help me? thanks

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message