posted 21 years ago
I am trying to run a client (page :57)from the book"head first EJB" by Kathy Sierra & Bert bates
My problem is when I tried to run the client using the command
C:\projects\advice>javac -classpath {$CLASSPATH}:latClient.jar adviceclient.java
adviceclient.java:4: package headfirst does not exist
import headfirst.*;
^
adviceclient.java:5: package javax.ejb does not exist
import javax.ejb.*;
^
adviceclient.java:21: cannot resolve symbol
symbol : class advicehome
location: class adviceclient
advicehome home=(advicehome) PortableRemoteObject.narrow(O,advicehome.class);
^
adviceclient.java:21: cannot resolve symbol
symbol : class advicehome
location: class adviceclient
advicehome home=(advicehome) PortableRemoteObject.narrow(O,advicehome.class);
^
adviceclient.java:21: cannot resolve symbol
symbol : class advicehome
location: class adviceclient
advicehome home=(advicehome) PortableRemoteObject.narrow(O,advicehome.class);
^
adviceclient.java:22: cannot resolve symbol
symbol : class advice
location: class adviceclient
advice advisor=home.create();
^
6 errors
C:\projects\advice>
can somebody tell me why I am getting this many errors
may be Kathy or Bert can answer easily.
thanks
Pradeep
SCJP1.4,SCBCD
Failure is not when you fall down; its only when you fail to get up again.