lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Heiden <markus.hei...@s24.com>
Subject Re: Solr not getting Start. Error : Could not find the main class: org.apache.solr.util.SolrCLI
Date Wed, 06 May 2015 12:37:21 GMT
UnsupportedClassVersionError means you have an old JDK. Use a more recent
one.

Markus

2015-05-06 12:59 GMT+02:00 Mayur Champaneria <mayur@matchmytalent.com>:

> Hello,
>
> When I starting solr-5.1.0 in Ubuntu 12.04 by,
>
> */bin/var/www/solr-5.0.0/bin ./solr start*
>
>
> Solr is being started and shows as below,
>
> *Started Solr server on port 8983 (pid=14457). Happy searching!*
>
>
> When I starting Solr on http://localhost:8983/solr/ its not starting.
> Then I have checking the status by
>
> */bin/var/www/solr-5.0.0/bin ./solr status*
>
>
> then at the end I have got an error as below,
>
>
> *Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/apache/solr/util/SolrCLI : Unsupported major.minor version 51.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:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>
> Could not find the main class: org.apache.solr.util.SolrCLI. Program will
> exit.
>
> please visit http://localhost:8983/solr*
>
>
> Same thing is repeating when starting solr on SolrCloud
>
> Please help me in this.
>
>
> --
> *Thanks & **Regards,*
>
>
> *Mayur Champaneria*
>
> *PHP Developer ( MMT )*
> *Vertex Softwares*
>

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