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

Stack Overflow | MarwenBta | 6 months 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

    javax.naming.NoInitialContextException: Need to specify class name in environment or system property

    Stack Overflow | 6 months ago | MarwenBta
    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

    javax.naming.NoInitialContextException

    Stack Overflow | 5 months ago | MarwenBta
    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

    Problem with named queries

    Coderanch | 1 decade ago | Howard Ralston
    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

    Problem running JUNIT test with JNDI datasource - Spring Forum

    spring.io | 9 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 - 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

    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:662)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
      3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:350)
      4. javax.naming.InitialContext.getNameParser(InitialContext.java:505)
      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:348)
      3 frames
    4. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
      1 frame
    5. FitNesse
      HibernateUtil.<clinit>
      1. util.HibernateUtil.<clinit>(HibernateUtil.java:12)
      1 frame
    6. Test Domain
      PersonneManager.ajouterPersonne
      1. manager.PersonneManager.ajouterPersonne(PersonneManager.java:12)
      1 frame
    7. test
      TestMain.main
      1. test.TestMain.main(TestMain.java:14)
      1 frame