运行solr:server_win rake命令时出错

时间:2013-04-02 08:52:30

标签: ruby-on-rails rake sunspot-solr


运行solr:start_win的rake命令时出现以下错误。我也安装了sunspot_rails gem 请帮助我们。

C:\Documents and Settings\Administrator\Desktop\trunk>rake solr:start_win
(in C:/Documents and Settings/Administrator/Desktop/trunk)
java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: and.  Program will exit.
Exception in thread "main" production Solr started successfully on 8982.

0 个答案:

没有答案