java.lang.UnsupportedClassVersionError

org/apache/felix/fileinstall/internal/FileInstall : Unsupported major.minor version 51.0

Samebug tips4

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.

If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4824

  • via nabble.com by Unknown author, 11 months ago
    org/apache/felix/fileinstall/internal/FileInstall : Unsupported major.minor version 51.0
  • via GitHub by WolfgangFahl
    , 10 months ago
    org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
  • org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
  • Stack trace

    • java.lang.UnsupportedClassVersionError: org/apache/felix/fileinstall/internal/FileInstall : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1374) at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4329) at org.apache.felix.framework.Felix.activateBundle(Felix.java:2141) at org.apache.felix.framework.Felix.startBundle(Felix.java:2064) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:662)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    194 more bugmates