File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes bean compilation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "bean compilation error" Watch "bean compilation error" New topic
Author

bean compilation error

john adam
Greenhorn

Joined: Jun 24, 2008
Posts: 2
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


here is the directory content showing the class file




and here is the code for Advice.java




please help.
thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

"need help"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

Where is AdviceHome located? I don't see it in the directory listing of headfirst.
john adam
Greenhorn

Joined: Jun 24, 2008
Posts: 2
Jaikiran Pai wrote:Where is AdviceHome located? I don't see it in the directory listing of headfirst.

I just listed the class files.The folder contains all the three java source files, and two compiled class files. I am getting the error , while trying to compile the Advicejava.java file.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

"Ejb Learner", please check your private messages for an important administrative matter. Again.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bean compilation error