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.java:645) > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) > at > javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325) >

Solutions on the web1236

  • via Google Groups by KentFitch, 1 year ago
    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.java: > 645) at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at > javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java: > 325)
  • via Oracle Community by 392 Guest, 11 months ago
    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.java:645) > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) > at > javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325) >
  • 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.java:645
  • Stack trace

    • 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.java:645) > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) > at > javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325) > at javax.naming.InitialContext.lookup(InitialContext.java:392)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    12 times, 1 month ago
    2 times, 2 months ago
    2 times, 3 months ago
    Once, 6 months ago
    Unknown user
    Once, 11 months ago
    28 more bugmates