Try to put the axis.jar under $CATALINA_HOME/shared/lib. Which version of Tomcat are you using?
Bye, Paolo Martinelli IrisCube Reply S.p.A. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thu 6/10/2004 12:37 To: tomcat-user Subject: Re: NoClassDefFoundError > Is your webapp in "ROOT"? That's usually the default application for Tomcat and > your own app would be in a named context. Assuming you are doing the latter, > and your named context is "mycontext", you'd put it in: > > $CATALINA_HOME/webapps/mycontext/WEB-INF/lib > > Jake My application is in $CATALINA_HOME/webapps/ROOT/matrici I have tried to put the jar file in $CATALINA_HOME/webapps/ROOT/matrici/web/WEB-INF/lib and it fails Assuming that my application is "matrici" Do i have to put the jar file in $CATALINA_HOME/webapps/matrici/WEB-INF/lib? I have a doubt... there are other jar files containing other inportant class and this class is found correctly. Why? Angelo > > Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > > > Hi all! > > > > I'm new to Tomcat. > > > > I have a problem testing my web application (jsp pages) > > > > A page of this application fails with this exception: > > javax.servlet.ServletException: org/apache/axis/client/Service > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > > > root cause > > > > java.lang.NoClassDefFoundError: org/apache/axis/client/Service > > java.lang.ClassLoader.defineClass0(Native Method) > > java.lang.ClassLoader.defineClass(ClassLoader.java:537) > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > > java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > > java.net.URLClassLoader.access$100(URLClassLoader.java:55) > > java.net.URLClassLoader$1.run(URLClassLoader.java:194) > > java.security.AccessController.doPrivileged(Native Method) > > java.net.URLClassLoader.findClass(URLClassLoader.java:187) > > > org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) > > > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) > > > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > > java.lang.ClassLoader.defineClass0(Native Method) > > java.lang.ClassLoader.defineClass(ClassLoader.java:537) > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) > > java.net.URLClassLoader.defineClass(URLClassLoader.java:251) > > java.net.URLClassLoader.access$100(URLClassLoader.java:55) > > java.net.URLClassLoader$1.run(URLClassLoader.java:194) > > java.security.AccessController.doPrivileged(Native Method) > > java.net.URLClassLoader.findClass(URLClassLoader.java:187) > > > org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) > > > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) > > > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) > > > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:840) > > > org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1370) > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230) > > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:184) > > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:110) > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > > java.lang.Class.getDeclaredConstructors0(Native Method) > > java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) > > java.lang.Class.getConstructor0(Class.java:1922) > > java.lang.Class.newInstance0(Class.java:278) > > java.lang.Class.newInstance(Class.java:261) > > ..........etc etc..... > > > > i have seen in the archive a similar problem posted by Tejo Vamsi Prayaga, > > but > > no solution > > > > At the end that class is in axis.jar, file located in > > $CATALINA_HOME/webapps/ROOT/WEB-INF/lib > > Is this the right location for my jar files? > > > > Thanx > > Angelo > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]