eclipse如何修改现有工程的dynamic web module version(转)

文章出自:http://blog.csdn.net/llhhyy1989/article/details/8841625

截选精华如下:

找到工程中 .setting文件夹内的org.eclipse.wst.common.project.facet.core.xml文件,文件格式大致如下:

<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <fixed facet="jst.java"/>
  <fixed facet="jst.web"/>
  <installed facet="jst.web" version="2.3"/>
  <installed facet="jst.java" version="1.4"/>
</faceted-project>

直接手动修改jst.web对应的version即可。最后重启eclipse就可以正常使用了。

猜你喜欢

转载自ysj5125094.iteye.com/blog/1989081
今日推荐