Probably, you are missing j2ee.jar on classpath. I had the same trouble with eclipse.
Joined: Sep 27, 2006
i checked it mu class path is:
what else should i add.
my bean class is compiling successfully without any errors.. but remote and remote home interface are not compiling..
C:\Java pro 08>javac mybeancomp.java
mybeancomp.java:3: package javax.rmi.RemoteException does not exist
mybeancomp.java:8: cannot find symbol
symbol : class RemoteException location: interface headfirst.mybeancomp
public String ShowData() throws RemoteException;
subject: package javax.ejb does not exist with sun app server 8.0