eclipse中修改web Module
在eclipse的工程上选择属性,再选择Project Facets里面中选择Dynamic Web Module ,将3.0修改为2.5,提示如下信息:
CannotchangeversionofprojectfacetDynamicWebModuleto2.5
修改办法:
Openthenavigatorviewandfindthatthereisa.settingsfolderunderyourprojectexpanditandthenopenthefile:org.eclipse.wst.common.project.facet.core.Deletethecontentofthisfileandrightclickontheprojectandclickonproperties.GotoProjectFacatsinthepopupwindowthereyoucanclickonruntimetabsandconvertyourprojecttothenewfacetyouwant.
或者直接修改
<installedfacet="jst.web"version="2.5"/>
再次选择tomcat6就可以正常使用了。
相关推荐
xnuzfm 2020-02-12
zhangmin0 2019-12-14
heshizui 2015-03-19
lzqlawrence 2015-08-19
小易Smalle 2016-07-22
Yvonne的小 2014-06-05
wangzhe00 2014-06-27
tgxblue 2016-03-25
heshizui 2015-03-19
Christina潇潇 2015-01-27