一直试图让
solr运行一段时间……终于好像我明白了.遵循
this教程.跑这个命令
bin/solr start
并看到了这个文字
Waiting up to 30 seconds to see Solr running on port 8983
但是之后…
Still not seeing Solr listening on 8983 after 30 seconds!
tail: cannot open `/root/downloads/solr-6.0.0/server/logs/solr.log' for reading: No such file or directory
这令人非常沮丧.我试着用sudo运行bin命令,但仍然没有运气.我究竟做错了什么?
编辑:我在前台运行它
bin/solr start -f
得到了这个
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/start/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:296)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:406)
我的java-foo达不到标准,所以我不知道该怎么做.