java.lang.UnsupportedClassVersionError: org/sonar/api/utils/SonarException : Unsupported major.minor version 52.0

Google Groups | Dinesh | 6 months ago
  1. 0

    Compatible?

    Google Groups | 6 months ago | Dinesh
    java.lang.UnsupportedClassVersionError: org/sonar/api/utils/SonarException : Unsupported major.minor version 52.0
  2. 0

    UnsupportedClassVersionError with SonarQube Ant Task after Update to 5.1.1

    Stack Overflow | 2 years ago | Matthias
    java.lang.UnsupportedClassVersionError: org/sonar/api/utils/SonarException : Unsupported major.minor version 51.0
  3. 0

    SonarQube 5.6.1 throwing bad major version while compiling a Java 7 project with Ant

    Stack Overflow | 6 months ago | Phil
    java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=org/sonar/api/utils/SonarException, offset=6
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    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.
  6. 0

    GitHub comment 4#135812874

    GitHub | 1 year ago | d-stephane
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/ellbristow/mychunk/MyChunk : Unsupported major.minor version 52.0
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/sonar/api/utils/SonarException : Unsupported major.minor version 52.0

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:792)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    9 frames
  3. SonarQube Runner
    IsolatedClassloader.loadClass
    1. org.sonar.runner.impl.IsolatedClassloader.loadClass(IsolatedClassloader.java:94)
    1 frame
  4. Java RT
    Class.getMethod
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    2. java.lang.Class.getDeclaredMethods0(Native Method)
    3. java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
    4. java.lang.Class.getMethod0(Class.java:2764)
    5. java.lang.Class.getMethod(Class.java:1653)
    5 frames
  5. SonarQube Runner
    BatchLauncher$1.run
    1. org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:85)
    2. org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
    2 frames
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. SonarQube Runner
    Runner.execute
    1. org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
    2. org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
    3. org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
    4. org.sonar.runner.api.Runner.execute(Runner.java:100)
    4 frames
  8. org.sonar.runner
    Main.main
    1. org.sonar.runner.Main.executeTask(Main.java:70)
    2. org.sonar.runner.Main.execute(Main.java:59)
    3. org.sonar.runner.Main.main(Main.java:53)
    3 frames