javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter,
2009-11-11 10:25
633 查看
是因为没有配置jndi.properties文件。
在class-path里面配置jndi.properties文件就可以了。
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:8080
在class-path里面配置jndi.properties文件就可以了。
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:8080
相关文章推荐
- javax.naming.NoInitialContextException: Need to specify class name in environment or system property
- javax.naming.NoInitialContextException: Need to specify class name in environment or system property
- javax.naming.NoInitialContextException: Need to specify class name in environment or system property
- javax.naming.NoInitialContextException: Need to specify class name in environment or system property
- javax.naming.NoInitialContextException: Need to specify class name in environment or system property
- javax.naming.NoInitialContextException: Need to specify class name in environment or system property
- Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.init
- Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: j
- Need to specify class name in environment or system property, or as an applet parameter, or in a
- Need to specify class name in environment or system property, or as an applet parameter, or in an ap
- Need to specify class name in environment or system property, or as an applet parameter, or in an ap
- 在使用jetty配置jndi的时候报错“Need to specify class name in environment or system property, or as an applet pa
- javax.naming.NoInitialContextException: Need to specify class name in XXX解决
- EJB3.0异常总结--- Need to specify class name in environment or system property,
- WLS Exception: Need to specify class name in environment or system property Solution
- WLS Exception: Need to specify class name in environment or system property Solution
- javax.naming.NamingException: No naming context bound to this class loader
- javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
- javax.naming.NameNotFoundException: Name [comp/env] is not bound in this Context. Unable to find [co
- 关于使用EJB时出现javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory的问题