java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.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

,
via Google Groups by Marcus Haebler

Update "latest" to Java 8 on DockerHub.

Solutions on the web

via Pentaho BI Platform Tracking by Jason Yau, 1 year ago
org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0
via Pentaho BI Platform Tracking by Jason Yau, 1 year ago
org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0
via Oracle Community by Knut Arne Vedaa, 1 year ago
notifytexts/N otifyTexts : Unsupported major.minor version 51.0
via GitHub by bijoutrouvaille
, 2 years ago
Rest : Unsupported major.minor version 51.0
via Stack Overflow by Bender
, 2 years ago
cliente/Princ ipal : Unsupported major.minor version 51.0
via Stack Overflow by Louisdewar
, 2 years ago
Main : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:175)
at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:77)
at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:55)
at org.pentaho.di.core.database.Database.connectUsingNamedDataSource(Database.java:441)
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:4691)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:414)
at org.pentaho.di.core.database.Database.connect(Database.java:358)
at org.pentaho.di.core.database.Database.connect(Database.java:311)
at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.init(InsertUpdate.java:480)
at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69)
at java.lang.Thread.run(Thread.java:695)

Users with the same issue

19 times, 1 week ago
Once, 1 week ago
5 times, 1 month ago
Once, 2 months ago
Once, 2 months ago

Write tip

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