Java,J2EE,Weblogic,Oracle

          java項(xiàng)目隨筆
          隨筆 - 90, 文章 - 6, 評(píng)論 - 61, 引用 - 0
          數(shù)據(jù)加載中……

          tomcat 加載 spring 工程遇到的問題

          嚴(yán)重: Error listenerStart
          嚴(yán)重: Context [/xxxxxxx] startup failed due to previous errors

          或者

          嚴(yán)重: Error filterStart
          org.apache.catalina.core.StandardContext start
          嚴(yán)重: 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) 評(píng)論(0)  編輯  收藏


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 望都县| 防城港市| 天津市| 天峻县| 海城市| 西城区| 揭阳市| 大安市| 石屏县| 视频| 九江市| 桐梓县| 亳州市| 滨州市| 同心县| 玛沁县| 蕉岭县| 道孚县| 乌恰县| 观塘区| 昌吉市| 罗江县| 新密市| 龙海市| 绥滨县| 大同县| 正宁县| 丰顺县| 汤原县| 庆阳市| 金门县| 青海省| 丹棱县| 抚顺县| 鄄城县| 金川县| 棋牌| 余姚市| 永城市| 叶城县| 定边县|