java.lang.UnsupportedClassVersionError: com/sun/enter prise/naming/SerialInitContextFactory (Unsupported major.minor version 48.0)

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem while modifying sample code

    Oracle Community | 1 decade ago | 807581
    java.lang.UnsupportedClassVersionError: com/sun/enter prise/naming/SerialInitContextFactory (Unsupported major.minor version 48.0)
  2. 0

    How to generate wlfullclient for jdk 1.5 in weblogic 12c?

    Stack Overflow | 3 years ago | Mauricio
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
  3. 0

    When running an existing transformation that worked in 5.2.0, I get the errors below. The errors are related to an Insert/Update step, and seem to be specifically related to initializing the database connection. Creating a new insert/update step using the existing MySQL database connection causes the program to hard crash, as does opening the one in this existing transformation. See reproduction steps for more details. 2015/06/10 13:33:14 - Version checker - OK 2015/06/10 13:33:26 - Spoon - Transformation opened. 2015/06/10 13:33:26 - Spoon - Launching transformation [google_analytics_basic]... 2015/06/10 13:33:26 - Spoon - Started the transformation execution. 2015/06/10 13:33:26 - google_analytics_basic - Dispatching started for transformation [google_analytics_basic] 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - ERROR (version 5.4.0.0-128, build 1 from 2015-06-03_13-41-59 by buildguy) : Error initializing step [Update fct_referral_traffic] 2015/06/10 13:33:26 - Insert / Update.0 - ERROR (version 5.4.0.0-128, build 1 from 2015-06-03_13-41-59 by buildguy) : Error initializing step [Insert / Update] 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - ERROR (version 5.4.0.0-128, build 1 from 2015-06-03_13-41-59 by buildguy) : java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.defineClass1(Native Method) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.defineClass(ClassLoader.java:621) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader.access$000(URLClassLoader.java:58) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader$1.run(URLClassLoader.java:197) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.security.AccessController.doPrivileged(Native Method) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.Class.forName0(Native Method) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.Class.forName(Class.java:249) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.InitialContext.init(InitialContext.java:223) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.InitialContext.<init>(InitialContext.java:175) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:77) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:55) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connectUsingNamedDataSource(Database.java:441) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:4691) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.normalConnect(Database.java:414) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connect(Database.java:358) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connect(Database.java:311) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.init(InsertUpdate.java:480) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.Thread.run(Thread.java:695)

    Pentaho BI Platform Tracking | 2 years ago | Jason Yau
    java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UnsupportedClassVersionError: org/jnp/interfaces/NamingContextFactory

    Oracle Community | 9 years ago | 843798
    java.lang.UnsupportedClassVersionError: org/jnp/interfaces/NamingContextFactory (Unsupported major.minor version 49.0)
  6. 0

    When running an existing transformation that worked in 5.2.0, I get the errors below. The errors are related to an Insert/Update step, and seem to be specifically related to initializing the database connection. Creating a new insert/update step using the existing MySQL database connection causes the program to hard crash, as does opening the one in this existing transformation. See reproduction steps for more details. 2015/06/10 13:33:14 - Version checker - OK 2015/06/10 13:33:26 - Spoon - Transformation opened. 2015/06/10 13:33:26 - Spoon - Launching transformation [google_analytics_basic]... 2015/06/10 13:33:26 - Spoon - Started the transformation execution. 2015/06/10 13:33:26 - google_analytics_basic - Dispatching started for transformation [google_analytics_basic] 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - ERROR (version 5.4.0.0-128, build 1 from 2015-06-03_13-41-59 by buildguy) : Error initializing step [Update fct_referral_traffic] 2015/06/10 13:33:26 - Insert / Update.0 - ERROR (version 5.4.0.0-128, build 1 from 2015-06-03_13-41-59 by buildguy) : Error initializing step [Insert / Update] 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - ERROR (version 5.4.0.0-128, build 1 from 2015-06-03_13-41-59 by buildguy) : java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.defineClass1(Native Method) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.defineClass(ClassLoader.java:621) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader.access$000(URLClassLoader.java:58) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader$1.run(URLClassLoader.java:197) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.security.AccessController.doPrivileged(Native Method) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.Class.forName0(Native Method) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.Class.forName(Class.java:249) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.InitialContext.init(InitialContext.java:223) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at javax.naming.InitialContext.<init>(InitialContext.java:175) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:77) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:55) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connectUsingNamedDataSource(Database.java:441) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:4691) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.normalConnect(Database.java:414) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connect(Database.java:358) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.core.database.Database.connect(Database.java:311) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.trans.steps.insertupdate.InsertUpdate.init(InsertUpdate.java:480) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69) 2015/06/10 13:33:26 - Update fct_referral_traffic.0 - at java.lang.Thread.run(Thread.java:695)

    Pentaho BI Platform Tracking | 2 years ago | Jason Yau
    java.lang.UnsupportedClassVersionError: org/osjava/sj/SimpleContextFactory : Unsupported major.minor version 51.0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedClassVersionError

      com/sun/enter prise/naming/SerialInitContextFactory (Unsupported major.minor version 48.0)

      at java.lang.ClassLoader.defineClass0()
    2. Java RT
      InitialContext.<init>
      1. java.lang.ClassLoader.defineClass0(Native Method)
      2. java.lang.ClassLoader.defineClass(Unknown Source)
      3. java.security.SecureClassLoader.defineClass(Unknown Source)
      4. java.net.URLClassLoader.defineClass(Unknown Source)
      5. java.net.URLClassLoader.access$100(Unknown Source)
      6. java.net.URLClassLoader$1.run(Unknown Source)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(Unknown Source)
      9. java.lang.ClassLoader.loadClass(Unknown Source)
      10. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      11. java.lang.ClassLoader.loadClass(Unknown Source)
      12. java.lang.ClassLoader.loadClassInternal(Unknown Source)
      13. java.lang.Class.forName0(Native Method)
      14. java.lang.Class.forName(Unknown Source)
      15. com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
      16. javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      17. javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      18. javax.naming.InitialContext.init(Unknown Source)
      19. javax.naming.InitialContext.<init>(Unknown Source)
      19 frames
    3. Unknown
      test.main
      1. test.main(test.java:28)
      1 frame