java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Compile maven projects with JDK 1.6 in Eclipse Mars

    Stack Overflow | 2 years ago | Pindi
    java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
  2. 0

    Java1.6 环境变量配好好,还是无法编译,

    GitHub | 1 year ago | huoxudong125
    java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
  3. 0

    Spring-boot "Unsupported major.minor version 51.0" when try to build with java 6

    Stack Overflow | 7 months ago | Shofwan Amrullah
    java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unsupported Class Version Error Major minor version 51.0

    Stack Overflow | 5 months ago | Sai Surya
    java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
  6. 0

    Java 6 Unsupported major.minor version 51.0

    Stack Overflow | 2 years ago | Hassan Syyid
    java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0

  1. rafael 2 times, last 2 months ago
  2. andyglick 3 times, last 4 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/apache/maven/cli/MavenCli : 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.defineClassCond(ClassLoader.java:631)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    5. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    6. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    9 frames
  3. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
    2. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
    4. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254)
    5. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    6. org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144)
    7. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266)
    8. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    9. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    10. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    10 frames