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(NamingManager.j ava:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav a:307) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContex t.java:344) at javax.naming.InitialContext.lookup(InitialContext.java:411)

ibm.com | 7 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

    IBM PM87604: MISSING JNDI FEATURE DIAGNOSTIC IMPROVEMENT - United States

    ibm.com | 7 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 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.j ava:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav a:307) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContex t.java:344) at javax.naming.InitialContext.lookup(InitialContext.java:411)

    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(NamingManager.j ava:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav a:307) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContex t.java:344) at javax.naming.InitialContext.lookup(InitialContext.java:411)

      at b.main()
    2. Unknown
      b.main
      1. b.main(b.java:3)
      1 frame