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 | Hemal | 8 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

    No Initial Context Exception in j2ee

    Stack Overflow | 8 months ago | Hemal
    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

    Glassfish JNDI InitialContext

    Stack Overflow | 3 years ago | Oscar Linde
    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 DataSource using JNDI + Weblogic

    Stack Overflow | 2 years ago
    org.hibernate.HibernateException: Could not find datasource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax.naming.NoInitialContextException Tomcat DataSource JNDI intellij idea 14

    Stack Overflow | 2 years ago | Oleg Kuts
    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

    can't execute Junit test on J2EE application

    Stack Overflow | 1 year ago | Naoufal Abde
    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

  1. Andreas Häber 2 times, last 1 week ago
  2. marcbouvierdav 6 times, last 2 weeks ago
  3. andyglick 1 times, last 4 months ago
  4. Kawada 18 times, last 11 months ago
29 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.lookup
    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.lookup(InitialContext.java:417)
    4 frames
  3. Unknown
    demo.main
    1. demo.main(demo.java:27)
    1 frame