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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via Unknown by Unknown author,
  • 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(N amingManager.java:645) at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:288) at javax.naming.InitialContext.getURLOrDefaultInitCtx (InitialContext.java:325) at javax.naming.InitialContext.lookup(InitialContext. java:392) at DataSourceApp.main(DataSourceApp.java:21)

    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

    We couldn't find other users who have seen this exception.