https://blog.csdn.net/zjml2412/article/details/47187133
1 在工程目录下的.settings文件夹里,打开org.eclipse.wst.common.project.facet.core.xml文件,其内容是: 2 3 <?xml version="1.0" encoding="UTF-8"?> 4 <faceted-project> 5 <runtime name="Apache Tomcat v7.0"/> 6 <fixed facet="jst.web"/> 7 <fixed facet="wst.jsdt.web"/> 8 <fixed facet="java"/> 9 <installed facet="java" version="1.8"/> 10 <installed facet="jst.web" version="3.0"/> 11 <installed facet="wst.jsdt.web" version="1.0"/> 12 </faceted-project>
修改