java.lang.UnsupportedClassVersionError: com/google/appengine/tools/enhancer/Enhance : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by Athou

You're using an older version of java with classes compiled for java7

,
via Google Groups by Marcus Haebler

Update "latest" to Java 8 on DockerHub.

Solutions on the web

via Stack Overflow by user2231256
, 1 year ago
com/google/appengine/tools/enhancer/Enhance : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method)
via Stack Overflow by Omi
, 2 years ago
brut/apktool/Main : Unsupported major.minor version 51.0</p> <pre><code>at java.lang.ClassLoader.defineClass1(Native Method)
via Stack Overflow by Sarah0050
, 2 years ago
android/support/v4/view/ViewConfigurationCompat : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(ClassLoader.java:-2)
via Stack Overflow by Unknown author, 2 years ago
io/appium/java_client/ios/IOSDriver : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method)
via Stack Overflow by user1512125
, 2 years ago
test/Testv2Servlet : Unsupported major.minor version 51.0</p> <pre><code>at java.lang.ClassLoader.defineClass1(Native Method)
via Stack Overflow by MSU
, 1 year ago
backtype/storm/ConfigValidation$FieldValidator : Unsupported major.minor version 51.0 storm-CMD FAILURE: at java.lang.ClassLoader.defineClass1(Native Method)
java.lang.UnsupportedClassVersionError: com/google/appengine/tools/enhancer/Enhance : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
64 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.