This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean compilation error

 
john adam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"need help"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is AdviceHome located? I don't see it in the directory listing of headfirst.
 
john adam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Ejb Learner", please check your private messages for an important administrative matter. Again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic