No, the class the class was only in WEB-INF/classes. Furthermore, I couldn't any class outside the package of the servlet that load the class. I put a breackpoint in th Class.forName() line and try to load some other class. The same results. The only way I dont get an exception was putting my package in the Tomcats required libraries. Thanks for you quickly answer. Regards Darien
----- Original Message ----- From: "Jean-pierre Cartal" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 11:25 AM Subject: Re: Tomcat Class.forName. > Check that the class where you're trying to instanciate the one located > under WEB-INF/classes is not is common/lib or common/classes. > > Dari�n Mart�nez Torres wrote: > > >Hi everybody, I get a ClassNotFoundException when I try to load a class dynamically and it is not in Tomcats riguired libraries and it is under WEB-INF/classes directory of my web app. Tomcat should not look for the class under that directory? > >Thanks, any help or idea will be wellcome. > >Darien > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
