This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Compilation problem

 
muntago Richard
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i ran Hello.java, it compile but i tried to compile Hellobean.java that were in the same directory it displays
error below


HelloBean.java:6: cannot find symbol
symbol: class Hello
public class HelloBean implements Hello {
^
1 error


Hello.java


HelloBean.java

 
Dave Elwood
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been going nuts with the same kind of stuff.

Take away the Local and Stateless tags. Does it work then?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic