struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Alzola" <malz...@wanadoo.es>
Subject Re: ServletException: org/apache/struts/action/ActionForm
Date Thu, 22 Mar 2001 23:23:46 GMT
Hello.
No reference to ActionForm in all the project. There is one thing that I don´t understand
in the struts example that may have relation since my project is based on that. I see no place
where ApplicationMapping is configured as the ActionMapping for the aplication.
  ----- Original Message ----- 
  From: Maya Muchnik 
  To: struts-user@jakarta.apache.org 
  Sent: Wednesday, March 21, 2001 10:18 PM
  Subject: Re: ServletException: org/apache/struts/action/ActionForm


  For some reason login.jsp is looking for org/apache/struts/action/ActionForm class and this
class not found. 
  The error is: 
  NoClassDefFoundError: org/apache/struts/action/ActionForm 
  Try to find a reference to this class (web.xml, struts-config.xml). 

  Maya 

  Manuel Alzola wrote: 

        Hello. I´m having a problem with a project I started modifying struts-example from
beta 1.0I renamed the webapp and changed the LogonAction and LogonForm to a different package.
This classes are available under the directory /WEB-INF/classess. I also changed the package
and class names in the config-xml. The problem is I´m no longer able to access /logon.jsp.
I keep getting the following error. Localizacion: /puro-feeling/logon.jspError interno del
servlet:javax.servlet.ServletException: org/apache/struts/action/ActionForm 
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) 
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) 
     at org.apache.tomcat.core.Handler.service(Handler.java:286) 
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) 
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) 
     at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)

     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) 
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) 
     at java.lang.Thread.run(Thread.java:484)  
    Causa Raiz: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm 
     at java.lang.ClassLoader.defineClass0(Native Method) 
     at java.lang.ClassLoader.defineClass(ClassLoader.java:486) 
     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) 
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) 
     at java.net.URLClassLoader.access$100(URLClassLoader.java:56) 
     at java.net.URLClassLoader$1.run(URLClassLoader.java:195) 
     at java.security.AccessController.doPrivileged(Native Method) 
     at java.net.URLClassLoader.findClass(URLClassLoader.java:188) 
     at java.lang.ClassLoader.loadClass(ClassLoader.java:297) 
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) 
     at java.lang.ClassLoader.loadClass(ClassLoader.java:253) 
     at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:446)

     at java.lang.ClassLoader.loadClass(ClassLoader.java:253) 
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) 
     at java.lang.Class.forName0(Native Method) 
     at java.lang.Class.forName(Class.java:120) 
     at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:524) 
     at _0002flogon_0002ejsplogon_jsp_4._jspService(_0002flogon_0002ejsplogon_jsp_4.java:162)

     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) 
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)

     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) 
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) 
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) 
     at org.apache.tomcat.core.Handler.service(Handler.java:286) 
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) 
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) 
     at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)

     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) 
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) 
     at java.lang.Thread.run(Thread.java:484) Thanks in advanceManuel Alzola

Mime
View raw message