×

Loading...

Visual Age3.0/3.5. I wrote a HelloWorld EJB in Visual Age. It's ok when running test client made by VAJ. When running the HelloClient writen by myself, such exceptions will show when I try to new InitialContext(props). Pls help.

howru (How are you?)
main().......
InitialContext ctx = new InitialContext(props);
...................

Debugger Stack Trace Report:

Thread[main,5,main] (Alive)
Uncaught exception (java.lang.NoClassDefFoundError: javax.naming.InitialContext)

HelloClient.main(String [])
args=([Ljava.lang.String;) [Ljava.lang.String;@4ae1
iniCtx=(javax.naming.InitialContext) null
(#28875@0)
2001-2-27 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Visual Age3.0/3.5. I wrote a HelloWorld EJB in Visual Age. It's ok when running test client made by VAJ. When running the HelloClient writen by myself, such exceptions will show when I try to new InitialContext(props). Pls help.

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论