Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Cannot resolve Symbol (EJB)  RSS feed

 
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
 
Ranch Hand
Posts: 2713
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!