报错信息:Description Resource Path Location Type Target runtime Apache Tomcat v8.0 is not defined. ssh Unknown Faceted Project Problem
解决办法:
1,在Eclipse工程目录下的.settings文件夹里,打开org.eclipse.wst.common.project.facet.core.xml文件,其内容是:<?xml version="1.0" encoding="UTF-8"?><faceted-project><runtime name="Apache Tomcat v6.0"/><fixed facet="jst.web"/><fixed facet="jst.java"/><installed facet="jst.java" version="5.0"/><installed facet="jst.web" version="2.4"/></faceted-project>不要删了文件也不要全删除,要不还会有错误,删除中间几行,只留下下面三行就行<?xml version="1.0" encoding="UTF-8"?><faceted-project></faceted-project> 2,或者修改tomcat的版本也可以。
原文地址:https://www.cnblogs.com/luminccs-5308/p/8687661.html
时间: 2024-11-08 19:02:40