flaxsearch / BioSolr

A project aiming "to significantly advance the state of the art with regard to indexing and querying biomedical data with freely available open source software"
Apache License 2.0
77 stars 26 forks source link

Unsupported major.minor version 52.0 #2

Closed ntung closed 8 years ago

ntung commented 8 years ago

java -jar swat4ls-webapp-1.0-SNAPSHOT.jar server webapp.yml Exception in thread "main" java.lang.UnsupportedClassVersionError: uk/co/flax/biosolr/ontology/OntologyApplication : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) 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)

mattflax commented 8 years ago

Hi,

Which Java version are you using? Both Solr 5 and the web application require Java 8 in order to run.

ntung commented 8 years ago

I am running under Java 7

ntung commented 8 years ago

You are right, @mattflax. Thanks so much. I resolved this issue. The issue is closed too.