Chinaunix

标题: 关于Cannot find ActionMappings or ActionFormBeans的错误 [打印本页]

作者: 傲枭    时间: 2007-10-16 17:39
标题: 关于Cannot find ActionMappings or ActionFormBeans的错误
我在本地上用eclipse编写的代码(有struts),本地用的是resin2,在本地上都正常,等我放到服务器上时出现如下错误

  1. javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans
  2. collection
  3.         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:741)
  4.         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)
  5.         at _login__jsp._jspService(/jw/login.jsp:18)
  6.         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
  7.         at com.caucho.jsp.Page.subservice(Page.java:506)
  8.         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
  9.         at com.caucho.server.http.Invocation.service(Invocation.java:315)
  10.         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
  11.         at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:222)
  12.         at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:103)
  13.         at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:80)
  14.         at com.caucho.jsp.QPageContext.forward(QPageContext.java:581)
  15.         at _index__jsp._jspService(_index__jsp.java:63)
  16.         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
  17.         at com.caucho.jsp.Page.subservice(Page.java:506)
  18.         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
  19.         at com.jw.org.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)
  20.         at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
  21.         at com.caucho.server.http.Invocation.service(Invocation.java:315)
  22.         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
  23.         at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
  24.         at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
  25.         at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
  26.         at java.lang.Thread.run(Thread.java:536)
复制代码

我在用eclipse导出war包,放到服务器上resin的webapps目录下的,然后./httpd.sh restart
服务器上resin的版本是2.1.4
在服务器上还需要配置什么吗
服务器上的resin里有别的系统均正常
作者: kakasi    时间: 2007-10-17 10:07
struts1?
貌似action对应的form类没有找到,检查一下。
作者: 傲枭    时间: 2007-10-17 13:13
在windows下的resin可以使用,到了solaris下就不行了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2