N
neweat
Unregistered / Unconfirmed
GUEST, unregistred user!
我是jbuild2005+weblogic的环境
开发了一个EntityBean,但在调用时出错
调用方式如下:
Context initial = new InitialContext();
Object objref = initial .lookup("LogInfo");//执行该语句出错
错误信息:
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:640)
哪位大侠能指点一下?
人气不是很好,还好我已经解决了,分数给自己吧
开发了一个EntityBean,但在调用时出错
调用方式如下:
Context initial = new InitialContext();
Object objref = initial .lookup("LogInfo");//执行该语句出错
错误信息:
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:640)
哪位大侠能指点一下?
人气不是很好,还好我已经解决了,分数给自己吧