How to get the buildindex step working in the semanticvectors java package on a mac OS X terminal?

I'm trying to use semantic vectors. Here are some links: https://code.google.com/p/semanticvectors/wiki/InstallationInstructions https://code.google.com/p/semanticvectors/ Anyway, I'm on the step where you input `java pitt.search.semanticvectors.BuildIndex`, but I'm lacking results. The current part I'm following is "To Build and Search a Model". I am able to compile the package successfully with the ant command and I did get the first step working with first setting the class path with: export CLASSPATH=./lib/lucene-core-3.6.2.jar:./… And then inputing java org.apache.lucene.demo.IndexFiles -docs . However with this next step I'm getting these errors: user:/home/data/SemanticVectors/semant… java pitt.search.semanticvectors.BuildIndex Exception in thread "main" java.lang.NoClassDefFoundError: pitt/search/semanticvectors/BuildIndex Caused by: java.lang.ClassNotFoundException: pitt.search.semanticvectors.BuildIndex at java.net.URLClassLoader$1.run(URLClassLo… at java.security.AccessController.doPrivile… Method) at java.net.URLClassLoader.findClass(URLCla… at java.lang.ClassLoader.loadClass(ClassLoa… at sun.misc.Launcher$AppClassLoader.loadCla… at java.lang.ClassLoader.loadClass(ClassLoa… Could not find the main class: pitt.search.semanticvectors.BuildIndex. Program will exit. I am using a terminal on a mac OS X

以上就是How to get the buildindex step working in the semanticvectors java package on a mac OS X terminal?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏