• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Cannot resolve Symbol (EJB)

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic