wood burning stoves 2.0*
The moose likes Servlets and the fly likes calling beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "calling beans" Watch "calling beans" New topic
Author

calling beans

Tom Caldwell
Ranch Hand

Joined: Oct 09, 2000
Posts: 39
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: calling beans
 
Similar Threads
Is this good design
About bad language usage in submiting profile
A small photo gallery of the National Spelling Bee!
math question - (divided by 2?)
Profanity in this forum