title: struts application not working in linux tomcat server
body: <p>I have a simple struts program working perfectly in windows environment with tomcat 7 as server. But I deployed the application in linux environment with tomcat 7 as server, the application is not running. It shows 404 error. Please help me to resolve the problem. </p>
  
  <p>I am getting error as like this:
  type Exception report</p>
  
  <p>Message:</p>
  
  <blockquote>
    <p>javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot
    find ActionMappings or ActionFormBeans collection</p>
  </blockquote>
  
  <p>Description:</p>
  
  <blockquote>
    <p>The server encountered an internal error that prevented it from
    fulfilling this request.</p>
  </blockquote>
  
  <p>Exception:</p>
  
  <pre><code>org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  
  root cause
  
  javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
      org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)
      org.apache.jsp.login_jsp._jspService(login_jsp.java:112)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  
  root cause
  
  javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
      org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:747)
      org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)
      org.apache.jsp.login_jsp._jspx_meth_html_005fform_005f0(login_jsp.java:147)
      org.apache.jsp.login_jsp._jspService(login_jsp.java:102)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  
  note The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs.
  </code></pre>