[求助]一个EJB的问题
我做了一个简单的有状态会话bean,但总报下面的错 谁能告诉我是为什么啊?F:\bea\jdk142_05\bin\javaw -classpath "F:\ejb1\classes;F:\bea\weblogic81\server\lib\weblogic_sp.jar;F:\bea\weblogic81\server\lib\weblogic.jar;F:\bea\weblogic81\server\lib\webservices.jar;F:\bea\jdk142_05\jre\lib\charsets.jar;F:\bea\jdk142_05\jre\lib\ext\dnsns.jar;F:\bea\jdk142_05\jre\lib\ext\ldapsec.jar;F:\bea\jdk142_05\jre\lib\ext\localedata.jar;F:\bea\jdk142_05\jre\lib\ext\sunjce_provider.jar;F:\bea\jdk142_05\jre\lib\im\indicim.jar;F:\bea\jdk142_05\jre\lib\im\thaiim.jar;F:\bea\jdk142_05\jre\lib\jce.jar;F:\bea\jdk142_05\jre\lib\jsse.jar;F:\bea\jdk142_05\jre\lib\plugin.jar;F:\bea\jdk142_05\jre\lib\rt.jar;F:\bea\jdk142_05\jre\lib\sunrsasign.jar;F:\bea\jdk142_05\lib\dt.jar;F:\bea\jdk142_05\lib\htmlconverter.jar;F:\bea\jdk142_05\lib\tools.jar" ejb1.CountClient
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 ejb1.CountClient.main(CountClient.java:166)Exception in thread "main"