java.lang.UnsupportedClassVersionError: ControllerTest (Unsupported major.minor version 48.0)

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by Stan James, 1 year ago
ControllerTest (Unsupported major.minor version 48.0)
via Oracle Community by 3004, 1 year ago
CacheClient1 (Unsupported major.minor version 48.0)
via Google Groups by getting_out, 1 month ago
HelloWorld (Unsupported major.minor version 48.0)
via Google Groups by RB, 3 months ago
WrtPdf (Unsupported major.minor version 48.0)
via Coderanch by sudipto das, 1 year ago
noNamespace/KFDUpdateDocument (Unsupported major.minor version 48.0)
via Oracle Community by 843830, 1 year ago
javax/mail/Message (Unsupported major.minor version 48.0)
java.lang.UnsupportedClassVersionError: ControllerTest (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:703)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:320)
at java.net.URLClassLoader.access$400(URLClassLoader.java:93)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:239)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)
at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:142)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.(JUnitTestRunner.java:237)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.(JUnitTestRunner.java:210)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago

Write tip

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