• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling beans

 
Tom Caldwell
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to use packaging to get beans to work on my server and all works fine. But when I have beans that call other beans I get this error -
java:5: Class beans.Joke not found in type declaration.
static Joke[ theJokes = new Joke]
Is this a classpath error? We tried adding the location to one of the classpaths(3 on websphere) but it didn't seem to help.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic