java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=io/github/benas/randombeans/api/EnhancedRandom, offset=6

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 Google Groups by Marcus Haebler

Update "latest" to Java 8 on DockerHub.

,
via GitHub by Athou

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

Solutions on the web

via GitHub by pfernandom
, 1 year ago
JVMCFRE003 bad major version; class=io/github/benas/randombeans/api/EnhancedRandom, offset=6
via Stack Overflow by John Liva
, 2 years ago
JVMCFRE003 bad major version; class=org/apache/maven/cli/MavenCli, offset=6
via Coderanch by S Majumder, 1 year ago
JVMCFRE003 bad major version; class=javax/inject/Provider, offset=6
via Stack Overflow by Satya
, 2 years ago
JVMCFRE003 bad major version; class=javax/inject/Provider, offset=6
via tagwith.com by Unknown author, 2 years ago
JVMCFRE003 bad major version; class=javax/inject/Provider, offset=6
via Stack Overflow by cdbean04
, 2 years ago
Bad version Number in .class file at java.lang.ClassLoader.defineClass1(Native Method>
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=io/github/benas/randombeans/api/EnhancedRandom, offset=6
at java.lang.ClassLoader.defineClass(ClassLoader.java:324)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:155)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:712)
at java.net.URLClassLoader.access$400(URLClassLoader.java:93)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1164)
at java.security.AccessController.doPrivileged(AccessController.java:492)
at java.net.URLClassLoader.findClass(URLClassLoader.java:595)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:777)
at java.lang.ClassLoader.loadClass(ClassLoader.java:750)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:326)
at java.lang.ClassLoader.loadClass(ClassLoader.java:731)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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