java.lang.UnsupportedClassVersionError: org/geoserver/GeoserverInitStartupListen er : Unsupported major.minor version 51.0

tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Cannot access GeoServer on http://localhost:8080/geoserver/web

    Geographic Information Systems | 2 years ago | Ferenjito
    java.lang.UnsupportedClassVersionError: org/geoserver/GeoserverInitStartupListen er : Unsupported major.minor version 51.0
  2. 0
    samebug tip
    This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.
  3. 0
    samebug tip
    If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2#30727452

    GitHub | 3 years ago | dudarkoas
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.amirov.jirareporter.JIRARunner] for bean with name 'jiraRunner' defined in plugin: jirareporter#jirareporter-agent.jar!/META-INF/build-agent-plugin-jirareporter.xml: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/amirov/jirareporter/JIRARunner : Unsupported major.minor version 51.0
  6. 0

    Not working with any CraftBukkit or Spigot version. I also tried plenty other skript version.

    GitHub | 2 months ago | Lukhausen
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : ch/njol/skript/Skript : Unsupported major.minor version 52.0

  1. rafael 2 times, last 4 months ago
  2. andyglick 3 times, last 5 months ago
34 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedClassVersionError

    org/geoserver/GeoserverInitStartupListen er : Unsupported major.minor version 51.0

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(Unknown Source)
    3. java.security.SecureClassLoader.defineClass(Unknown Source)
    4. java.net.URLClassLoader.defineClass(Unknown Source)
    5. java.net.URLClassLoader.access$000(Unknown Source)
    6. java.net.URLClassLoader$1.run(Unknown Source)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(Unknown Source)
    8 frames
  3. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
    2. org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
    3. org.mortbay.jetty.handler.ContextHandler.loadClass(ContextHandler.java:1035)
    4. org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:629)
    5. org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:367)
    6. org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289)
    7. org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222)
    8. org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180)
    9. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1217)
    10. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
    11. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
    11 frames
  4. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  5. Jetty Server
    ContextHandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    2 frames
  6. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  7. Jetty Server
    HandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    1 frame
  8. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  9. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:222)
    2 frames
  10. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  11. Jetty Server
    XmlConfiguration.main
    1. org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
    1 frame
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  13. Jetty start jar
    Main.main
    1. org.mortbay.start.Main.invokeMain(Main.java:183)
    2. org.mortbay.start.Main.start(Main.java:497)
    3. org.mortbay.start.Main.main(Main.java:115)
    3 frames