apache-solr PR: 201455 (I think 212104 blocks usage of apache-solr)

Kurt Jaeger lists at opsec.eu
Sun Sep 11 08:42:09 UTC 2016


Hi!

[@sample: thanks!]

> > As far as I understand, if the -dist files are copied to the
> > relevant places, the startup still fails, probably because
> > the default values are not valid ?
> >
> > So what parameters are needed for a simple startup ?
> >
> you have to create an instance and provide a configuration therefor as
> noted in the installation instruction:
> For more information how to configure solr check the manual:
> 
> http://lucene.apache.org/solr/resources.html#documentation
> 
> 
> Maybe you can copy an example to the database folder to test the startup
> script:
> cp -R /usr/local/solr/example/example-DIH/solr/solr /var/db/solr/
> chown -R www /var/db/solr/solr

It still fails, with the same error as before, recorded in
/var/log/solr/solr-8983-console.log:

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:803)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

I've tested it on CURRENT, r305402M.

-- 
pi at opsec.eu            +49 171 3101372                         4 years to go !


More information about the freebsd-ports mailing list