The server does not support version 3.0 of the J2EE Web module specification. 錯誤解決

          開發SpringMVC項目的時候,運用的Maven的骨架生成,準備部署到Tomcat,但是在選擇run on server的時候報錯:
          The server does not support version 3.0 of the J2EE Web module specification.
          錯誤意思是服務器不支持3.0的版本的項目,遇到這種情況只需要修改一下項目的版本就可以了!

          在項目根目錄下的setting文件夾中有這么一個文件org.eclipse.wst.common.project.facet.core.xml
              
           <?xml version="1.0" encoding="UTF-8"?> 
          <faceted-project>
            <fixed facet="wst.jsdt.web"/>
            <installed facet="java" version="1.6"/>
            <installed facet="jst.web" version="3.0"/>
            <installed facet="wst.jsdt.web" version="1.0"/>
          </faceted-project>
             
                可以看到項目中的  <installed facet="jst.web" version="3.0"/>
               
          只需要改成2.5即可  <installed facet="jst.web" version="2.5"/>

          posted on 2012-09-11 15:25 Nirvana reborn 閱讀(1412) 評論(0)  編輯  收藏 所屬分類: ★開發經驗

          <2012年9月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          30123456

          導航

          統計

          公告

          我好喜歡它,
          我的 QQ 66013804
          我想做技術流,可是我很懶,
          博客新地址:<a href="

          隨筆分類(19)

          文章檔案(1)

          博主鏈接

          最新評論

          閱讀排行榜

          主站蜘蛛池模板: 焉耆| 荣昌县| 亚东县| 兴和县| 盐山县| 洞口县| 临安市| 招远市| 曲松县| 汽车| 阳城县| 岱山县| 湘乡市| 延长县| 裕民县| 会宁县| 五原县| 高平市| 芷江| 治多县| 花垣县| 宿州市| 平乡县| 黄龙县| 上犹县| 彩票| 龙海市| 葵青区| 云霄县| 田阳县| 南京市| 西林县| 红桥区| 固镇县| 化州市| 阜康市| 正宁县| 永寿县| 凤冈县| 吉隆县| 双桥区|