> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com]
> Subject: Tomcat 6.0.18 useBean NoClassDefFoundError
> 
> I don't use Java full time because I use tools that works

Interesting that you expect to get help from people when your first sentence is 
designed to annoy them.

> java.lang.NoClassDefFoundError: user/UserData (wrong name: UserData)

You compiled your class without a package statement.

> ... what is it moaning about?

The error message isn't moaning, you are.  It's simply letting you know you 
made a mistake.

> the source code for UserData states it's package:

It does now, but not when you compiled it.

> I think i've isolated the problem to line 1 of the JSP script 
> and know its [sic] a classpath issue.

No, it's not a classpath issue.  The UserData.class file in 
WEB-INF/classes/user was not created with a package statement.

> Why is Tomcat not picking up the user.UserData from 
> WEB-INF\classes

See above.

> How can get this simple code example to work?

Follow the instructions.

> am rapidly loosing my patience short of calling Tomcat 6 a failure.

Clearly, Tomcat 6 is a world-wide success.  What's your track record?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to