1


运行 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.
4

0 回答 0