| Author |
HF: AdviceBean tutorial does not run!
|
Palak Shah
Greenhorn
Joined: Jan 21, 2005
Posts: 18
|
|
Hello, I followed all the steps given in HFEJB: AdviceBean tutorial. But when I tried to run 'AdviceClient.class' from command line, I get an exception. Can anybody help? See the exception attached below: 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) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280) at javax.naming.InitialContext.lookup(InitialContext.java:347) at AdviceClient.go(AdviceClient.java:18) at AdviceClient.main(AdviceClient.java:11)
|
Palak Shah,<br />SCJP (85%), SCWCD (84%), SCBCD (95%).
|
 |
Keerthi P
Ranch Hand
Joined: Aug 19, 2003
Posts: 203
|
|
|
Did you search in this forum? Thats a good way to get the answer quickly.
|
Cheers.<br />Keerthi<br />(SCJP, SCWCD, SCBCD)
|
 |
 |
|
|
subject: HF: AdviceBean tutorial does not run!
|
|
|