Java,J2EE,Weblogic,Oracle

          java項目隨筆
          隨筆 - 90, 文章 - 6, 評論 - 61, 引用 - 0
          數據加載中……

          tomcat 加載 spring 工程遇到的問題

          嚴重: Error listenerStart
          嚴重: Context [/xxxxxxx] startup failed due to previous errors

          或者

          嚴重: Error filterStart
          org.apache.catalina.core.StandardContext start
          嚴重: Context startup failed due to previous errors  


          web.xml  文件中
          <listener>
               <listener-class>
                      org.springframework.web.context.ContextLoaderListener
               </listener-class>
           </listener>


          替換成 
           <servlet>
               <servlet-name>SpringContextServlet</servlet-name>
                    <servlet-class>
                          org.springframework.web.context.ContextLoaderServlet
                   </servlet-class>
               <load-on-startup>1</load-on-startup>
           </servlet>

          posted on 2008-09-24 23:19 龔椿深 閱讀(324) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 栖霞市| 罗甸县| 宣威市| 南宫市| 娄烦县| 龙里县| 淮安市| 涡阳县| 新乡县| 东明县| 平江县| 鄂州市| 团风县| 隆昌县| 六枝特区| 东乡族自治县| 闽侯县| 晋州市| 营口市| 额济纳旗| 诸城市| 孙吴县| 宝山区| 鲜城| 昌宁县| 山东省| 千阳县| 常德市| 霍城县| 长乐市| 迭部县| 沧州市| 夏津县| 大关县| 东宁县| 新丰县| 仁寿县| 安宁市| 南部县| 资中县| 饶平县|