I got it, but the classes directory is in the classpath (D:\tomcat\webapps\myproject\WEB-INF\classes). And I don't have classes in packages.
I'm forgetting something, newbie stuff I guess. Regards Carlos ----- Original Message ----- From: "Sri Sankaran" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 12:04 PM Subject: RE: Beginner ClassNotFoundException > This list is for all struts users, beginners alike. > > Your problem could be because > > * your class LoginForm isn't in the classpath -- is it in WEB-INF/classes or WEB-INF/lib either as a .class or in a jar. If you correct it accordingly > * your class LoginForm is actually in a package so that the fully qualified name is really com.foo.bar.LoginForm and not just LoginForm. In this case, update your struts-config.xml to reflect the correct name of the form bean > > Sri > > -----Original Message----- > From: Carlos Henrique Righetto Moreira [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 09, 2002 10:13 AM > To: [EMAIL PROTECTED] > Subject: Beginner ClassNotFoundException > > > This list can help beginners? :) If not, sorry to bother! > > In all examples I tested, everything works properly. Now, my first own test doesn't work. There's only one Action class (LoginAction) and one Form class > (LoginForm) compiled ok in the classes directory. struts-config.xml is configured properly (I guess). > > This is the error: > > javax.servlet.ServletException: Exception creating bean of class LoginForm: > java.lang.ClassNotFoundException: LoginForm > > Thanks in advance! > > Regards, > Carlos > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

