Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot resolve Symbol (EJB)  RSS feed

 
kuralmani Elango
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using weblogic 5.1,I got a problem "cannot
resolve Symbol" when i compile HomeInterface i get
this error,
my Remote Interface is
import java.rmi.RemoteException;
import java.rmi.Remote;
import javax.ejb.*;
public interface Demo extends EJBObject, Remote {
public String demoSelect() throws RemoteException;
}
and my HomeInterface is
import javax.ejb.*;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.*;
public interface DemoHome extends EJBHome {
public Demo create() throws CreateException,
RemoteException;

}

ERROR:cannot resolve symbol Demo
Note:Remote interface is compling fine
PLs help me
Thanks
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is really quite obvious. The Demo interface is not on the CLASSPATH when you are compiling DemoHome.
If you are compiling these by hand (ie javac) then make sure . (current directory) is on your CLASSPATH.
If you are using an IDE, then the problem is one of configuration. You will need to post a question about your particular IDE in IDE's and other tools .
[ February 24, 2003: Message edited by: Chris Mathews ]
 
kuralmani Elango
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
Thankyou,I am using javac but already run
setEnv.Do feel anything wrong in that setEnv
then how can i overcome this problem
Pls help me
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!