java.lang.UnsupportedClassVersionError: (WMSMS) bad major version at offset=6at java.lang.ClassLoader.defineClassImpl(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

,
Expert tip

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.

,
Expert tip

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

Solutions on the web

via Oracle Community by 843804, 1 year ago
(WMSMS) bad major version at offset=6at java.lang.ClassLoader.defineClassImpl(Native Method)
via Stack Overflow by John Liva
, 2 years ago
JVMCFRE003 bad major version; class=org/apache/maven/cli/MavenCli, offset=6
via Stack Overflow by cdbean04
, 2 years ago
Bad version Number in .class file at java.lang.ClassLoader.defineClass1(Native Method>
via Coderanch by S Majumder, 10 months ago
JVMCFRE003 bad major version; class=javax/inject/Provider, offset=6
via GitHub by smartmouse
, 1 year ago
JVMCFRE003 bad major version; cLambda, offset=6
via Stack Overflow by Satya
, 2 years ago
JVMCFRE003 bad major version; class=javax/inject/Provider, offset=6
java.lang.UnsupportedClassVersionError: (WMSMS) bad major version at offset=6at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.findClassImpl(Unknown Source)
at java.net.URLClassLoader$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Unknown Source)
at com.ibm.oti.vm.URLSystemClassLoader.findClass(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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 9 months ago

Write tip

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