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 丫丫 閱讀(4935) 評論(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 | 龍的傳人
          還不錯  回復  更多評論
            
          <2008年10月>
          2829301234
          567891011
          12131415161718
          19202122232425
          2627282930311
          2345678

          常用鏈接

          留言簿(1)

          隨筆分類(25)

          隨筆檔案(27)

          文章分類

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 新巴尔虎右旗| 资阳市| 博客| 开远市| 磴口县| 仪征市| 马关县| 潼南县| 行唐县| 佛教| 军事| 商丘市| 浦东新区| 运城市| 弥勒县| 宜宾县| 五原县| 遂宁市| 应用必备| 平果县| 永和县| 镇坪县| 奉新县| 黎平县| 永济市| 年辖:市辖区| 万源市| 青海省| 辽中县| 缙云县| 三穗县| 东安县| 渝北区| 易门县| 阳西县| 广安市| 阜阳市| 阿拉善左旗| 秦皇岛市| 府谷县| 宁陵县|