java.lang.UnsupportedClassVersionError: com/sun/enter prise/naming/SerialInitContextFactory (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

Solutions on the web

via Oracle Community by 807581, 1 year ago
com/sun/enter prise/naming/SerialInitContextFactory (Unsupported major.minor version 48.0)
via Oracle Community by 843798, 1 year ago
org/jnp/interfaces/NamingContextFactory (Unsupported major.minor version 49.0)
via sourceforge.net by Unknown author, 2 years ago
com/sun/tools/javac/Main (Unsupported ma jor.minor version 48.0)
via Google Groups by Pavel Sapozhnikov, 2 years ago
com/... (Unsupported major.minor version 49.0)
via Oracle Community by 843859, 1 year ago
com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 50.0)
via Eclipse Bugzilla by vishnu.naikawadi, 1 year ago
tptp/testpass2/SampleURLTest (Unsupported major.minor version 49.0)
java.lang.UnsupportedClassVersionError: com/sun/enter prise/naming/SerialInitContextFactory (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
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$100(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)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at undefined.test.main(test.java:28)

Users with the same issue

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, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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