Java,J2EE,Weblogic,Oracle

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

          tomcat 加載 spring 工程遇到的問(wèn)題

          嚴(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 龔椿深 閱讀(326) 評(píng)論(0)  編輯  收藏


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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 达州市| 洪江市| 神池县| 白玉县| 诸暨市| 虞城县| 马边| 读书| 祁东县| 灌南县| 武汉市| 都匀市| 纳雍县| 镇安县| 台安县| 新余市| 安陆市| 永州市| 刚察县| 四川省| 贵港市| 儋州市| 青浦区| 阳原县| 岳池县| 华安县| 苗栗县| 清镇市| 赣榆县| 兴仁县| 巴彦淖尔市| 香河县| 赤壁市| 凤台县| 丰都县| 台湾省| 读书| 祁门县| 汤阴县| 永寿县| 忻州市|