发现eclipse红叉,查看markers发现Target runtime Apache Tomcat 6.0 is not defined

Target runtime Apache Tomcat 6.0 is not defined

1、导入以前的项目(Markers中注意查看,就在console选项卡旁边),报以下错误,但不影响操作:

Description Resource Path Location Type
Target runtime Apache Tomcat v6.0 is not defined. lfpms   Unknown Faceted Project Problem

解决办法:

在工作台目录下找到 项目的文件夹 /.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="wst.jsdt.web"/>

<fixed facet="java"/>

<installed facet="java" version="1.6"/>

<installed facet="jst.web" version="2.5"/>

<installed facet="wst.jsdt.web" version="1.0"/>

</faceted-project>

<runtime name="Apache Tomcat v6.0"/>删除,保存即可解决。

原文地址:https://www.cnblogs.com/qlqwjy/p/8386171.html

时间: 2024-11-03 20:53:57

发现eclipse红叉,查看markers发现Target runtime Apache Tomcat 6.0 is not defined的相关文章

【eclipse】Target runtime Apache Tomcat v7.0 is not defined解决

在eclipse中导入项目时提示Target runtime Apache Tomcat v7.0 is not defined, 解决方法:右键项目--properties--targeted runtime,在这里将原项目的Apache Tomcat v7.0去掉,选成自已的即可. 原文地址:https://www.cnblogs.com/weknow619/p/8256912.html

mac eclipse Target runtime Apache Tomcat v7.0 is not defined

关于mac下eclipse报错:mac eclipse Target runtime Apache Tomcat v7.0 is not defined. 修改这个文件"工程名/.settings/org.eclipse.wst.common.project.facet.core.xml"下的runtime标签的name值,删除即可! 1.在eclipse显示seetings文件夹

Target runtime Apache Tomcat v6.0 is not defined.错误解决方法

Eclipse导入工程后工程上显示一个小红叉,但工程里没有文件错误,也没有语法错误,百思不得其解啊,后来在网上找了一些资料说是项目引用的类库路径有问题.[项目]->[右键]->[build path]->[configure build path]->[libraries],查看一下引用的类库路径.网上都说是因为这里引用错误引起的,但是我在项目导入的时候做的第一件事情就是修改这里的library,因此不是这个原因. 在problems中显示错误是:Target runtime Ap

Target runtime Apache Tomcat 6.0 is not defined 解决方法(转)

问题描述: eclipse 导入项目后 Target runtime Apache Tomcat v6.0 is not defined ... 下载最新版本eclipse后,导入以前的项目,报以下错误,但不影响操作: Description Resource Path Location TypeTarget runtime Apache Tomcat v6.0 is not defined. lfpms   Unknown Faceted Project Problem 问题解决方案: 在工作

问题解决:Target runtime Apache Tomcat v6.0 is not defined

Target runtime Apache Tomcat v6.0 is not defined.错误解决方法. 问题解决网址: http://jingyan.baidu.com/article/ce09321b479d102bfe858f66.html更换     /.settings/org.eclipse.wst.common.project.facet.core.xml文件

Target runtime Apache Tomcat v6.0 is not defined. phyy Unknown Faceted Project Problem

Description Resource Path Location TypeTarget runtime Apache Tomcat v6.0 is not defined. phyy Unknown Faceted Project Problem 找到工程.settings目录 修改注释部分即可 <?xml version="1.0" encoding="UTF-8"?> <faceted-project> <!-- <run

导入项目发现 Target runtime Apache Tomcat v7.0 is not defined.

运行时没有找到tomcat v7.0 Eclipse 右键-->properties-->targeted runtime,把原项目的tomcat去掉勾选,换上自己的Tomcat myEclipse 在工程目录下的.settings文件夹里,打开org.eclipse.wst.common.project.facet.core.xml文件,其内容是: <?xml version="1.0" encoding="UTF-8"?> <fac

Target runtime Apache Tomcat v8.0 is not defined

新导入的一个web工程,在problems中显示错误是:Target runtime Apache Tomcatv8.0 is not defined. 终于找到解决方法.方法是:在工程目录下的.settings文件夹里,打开org.eclipse.wst.common.project.facet.core.xml文件,其内容是: <?xmlversion="1.0"encoding="UTF-8"?> <faceted-project> &

Target runtime Apache Tomcat v6.0 is not defined

在工程目录下的.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="java"/>