javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

Coderanch | Sonx Nkuks | 6 years ago
  1. 0

    Entity class not found/InvocationTargetException

    Coderanch | 6 years ago | Sonx Nkuks
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
  2. 0

    Problem running JUNIT test with JNDI datasource - Spring Forum

    spring.io | 5 months ago
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
  3. 0

    Hibernate Community • View topic - Trying to query with object having composite key

    hibernate.org | 1 year ago
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception in thread "main" org.hibernate.hql.ast.QuerySyntaxException: TESTING is not mapped [FROM TESTING]

    roseindia.net | 11 months ago
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
  6. 0

    Hibernate Community • View topic - JNDI troubles

    hibernate.org | 1 year ago
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

    12 unregistered visitors
    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. javax.naming.NoInitialContextException

      Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

      at javax.naming.spi.NamingManager.getInitialContext()
    2. Java RT
      InitialContext.getNameParser
      1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
      4. javax.naming.InitialContext.getNameParser(InitialContext.java:480)
      4 frames
    3. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.util.NamingHelper.bind(NamingHelper.java:75)
      2. org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:113)
      3. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:365)
      3 frames
    4. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1842)
      1 frame
    5. za.co.epsilon
      BatchOverrideHibernateTest.main
      1. za.co.epsilon.factory.dao.HibernateUtil.configure(HibernateUtil.java:46)
      2. za.co.epsilon.factory.dao.HibernateUtil.getSessionFactory(HibernateUtil.java:37)
      3. za.co.epsilon.test.BatchOverrideHibernateTest.getSession(BatchOverrideHibernateTest.java:20)
      4. za.co.epsilon.test.BatchOverrideHibernateTest.init(BatchOverrideHibernateTest.java:45)
      5. za.co.epsilon.test.BatchOverrideHibernateTest.main(BatchOverrideHibernateTest.java:32)
      5 frames