posts - 27,  comments - 37,  trackbacks - 0
1。Web.xml未初始化问题
少了一个<load-on-startup>0</load-on-startup>
这样开始是没有加载这个类,就没有初始化struts-config.xml,所以找不到
actionmappings or actionformbeans collection。

2。struts-config.xml问题

3。jar包不全或版本不对
也有可能导致这个问题,从stuts例子里面拷过来就好了。struts1.1自带共10个jar包。

4。编译问题
有可能Action和Formbean没有编译,也会有这个问题,检查一下有没有对应的class文件就好。class路径不对可能也会导致这个问题。

5。版本问题
用的servlet容器和struts版本不对或这两个版本协调有问题。
 
以上是从csdn上拷贝过来的,只是至今还没有解决问题……


 小时候家的对面有一座山,山的上面就是蓝天,所以总是幻想着有一天站到山顶用手摸一下蓝天……
posted on 2007-10-30 21:16 丫丫 阅读(4914) 评论(4)  编辑  收藏 所属分类: struts


FeedBack:
# re: struts error:cannot find actionmappings or actionformbeans collection
2008-03-08 21:24 | rayson won
me too  回复  更多评论
  
# re: struts error:cannot find actionmappings or actionformbeans collection
2008-10-17 13:47 | 暗暗
谢谢你了 说的很对  回复  更多评论
  
# re: struts error:cannot find actionmappings or actionformbeans collection [未登录]
2009-06-05 09:40 | 腾飞
你说的太对了,非常感谢啊  回复  更多评论
  
# re: struts error:cannot find actionmappings or actionformbeans collection [未登录]
2012-03-30 15:33 | 龙的传人
还不错  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航:
 
<2007年10月>
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

常用链接

留言簿(1)

随笔分类(25)

随笔档案(27)

文章分类

搜索

  •  

最新评论

阅读排行榜

评论排行榜