Results 1 to 1 of 1
Thread: bean compilation error
- 07-30-2009, 12:21 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 1
- Rep Power
- 0
bean compilation error
Hi, I am trying to compile a java file with the following code , and I am getting the error
AdviceHome.java:9: cannot resolve symbol
symbol : class Advice
location: interface headfirst.AdviceHome
public Advice create() throws CreateException, RemoteException;
here is the code
Java Code:package headfirst; import javax.ejb.*; import java.rmi.RemoteException; public interface AdviceHome extends EJBHome { public Advice create() throws CreateException, RemoteException; }
Java Code:Directory of C:\ejbprojects\advice\src\headfirst 07/29/2009 01:49p 225 Advice.class 07/29/2009 01:49p 1,499 AdviceBean.class 2 File(s) 1,724 bytes
Java Code:package headfrst; import javax.ejb.*; import java.rmi.RemoteException; public interface Advice extends EJBObject { public String getAdvice() throws RemoteException; }
please help.
thanks
Similar Threads
-
java.lang.Error: Unresolved compilation problems
By jon80 in forum New To JavaReplies: 0Last Post: 06-07-2009, 11:04 PM -
Bean class error
By impact in forum Java ServletReplies: 5Last Post: 08-16-2008, 04:46 PM -
JAVA compilation error in UNIX
By satish kumar in forum Advanced JavaReplies: 9Last Post: 08-08-2008, 08:36 AM -
compilation error(version problem?)
By Ms.Ranjan in forum New To JavaReplies: 3Last Post: 07-11-2008, 05:31 PM -
compilation error with Jcreator
By Heather in forum JCreatorReplies: 2Last Post: 06-30-2007, 05:12 PM
Bookmarks