Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Compilation problem  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!