You need to have the derived jar or classes that the container has generated in
your classpath as well. This is where the stubs/skeletons are.
don.
Liu Te Hua wrote:
> hello...
>
> I have a EJB.
> This bean can be executed correctly on local computer (same computer with
> the client java console program).
>
> But when I deploy the bean into different computer, my java console report a
> lot of exception :
> [java.lang.ClassNotFoundException: Could not instantiate new instance of
> [ejb.de
> mo.demobeanEOImpl_WLStub]
> Either the class is missing from classpath, the class does not have a
> public co
> nstructor, or the constructor raised an error; the actual exception was a :
> java
> .lang.NoSuchMethodError: java.lang.NoSuchMethodException]
> at
> ejb.demo.demobeanHomeImpl_WLStub.create(demobeanHomeImpl_WLStub.java:
> 161)
> at
> ejb.demo.demobeanHomeImpl_ServiceStub.create(demobeanHomeImpl_Service
> Stub.java:121)
> at ejb.demo.demoClient.main(ejb/demo/demoClient.java:22)
>
> I have executed setenv.cmd before running the weblogic server. I have put
> the directory where my EJB resides (d:\temp).
>
> anyone can help ?
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".