Target runtime Apache Tomcat v6.0 is not defined解决方法
来源:互联网 发布:办公室office软件下载 编辑:程序博客网 时间:2024/05/16 09:57
Eclipse导入工程后工程上显示一个小红叉,但工程里没有文件错误,也没有语法错误,百思不得其解啊,后来在网上找了一些资料说是项目引用的类库路径有问题。【项目】->【右键】->【build path】->【configure build path】->【libraries】,查看一下引用的类库路径。网上都说是因为这里引用错误引起的,但是我在项目导入的时候做的第一件事情就是修改这里的library,因此不是这个原因。
在problems中显示错误是:Target runtime Apache Tomcat 6.0 is not defined. 在网上查了一下终于找到解决方法。方法是:在工程目录下的.settings文件夹里,打开org.eclipse.wst.common.project.facet.core.xml文件,其内容是:
<?xmlversion="1.0"encoding="UTF-8"?>
<faceted-project>
<runtimename="Apache Tomcat v6.0"/>
<fixedfacet="jst.web"/>
<fixedfacet="jst.java"/>
<installedfacet="jst.java"version="6.0"/>
<installedfacet="jst.web"version="2.5"/>
<installedfacet="wst.jsdt.web"version="1.0"/>
</faceted-project>
将其修改为:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Apache Tomcat v8.0"/>
<fixed facet="jst.web"/>
<fixed facet="java"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.7"/>
<installed facet="jst.web" version="3.1"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
根据你引用的本地tomcat版本,(你可以重建一个web项目查看项目下的.setting中org.eclipse.wst.common.project.facet.core.xml)
- Target runtime Apache Tomcat v6.0 is not defined解决方法
- target runtime apache tomcat v6.0 is not defined
- target runtime Apache Tomcat v6.0 is not defined
- Target runtime Apache Tomcat v6.0 is not defined错误
- Target runtime Apache Tomcat v6.0 is not defined
- Target runtime Apache Tomcat v6.0 is not defined.错误
- Target runtime Apache Tomcat v6.0 is not defined.
- Target runtime Apache Tomcat v6.0 is not defined
- Target runtime Apache Tomcat v6.0 is not defined
- Target runtime Apache Tomcat v6.0 is not defined.
- Target runtime Apache Tomcat v6.0 is not defined
- Target runtime Apache Tomcat v6.0 is not defined.
- Target runtime Apache Tomcat v6.0 is not defined
- Target runtime Apache Tomcat v6.0 is not defined 解决
- Target runtime Tomcat v6.0 is not defined错误解决方法
- Target runtime Apache Tomcat v6.0 is not defined.错误解决方法
- Target runtime Apache Tomcat v6.0 is not defined.错误解决方法
- Target runtime Apache Tomcat v6.0 is not defined.错误解决方法
- ActionBar相关设置与操作
- 【浅墨Unity3D Shader编程】之十一 深入理解Unity5中的Standard Shader(三)&屏幕像素化特效的实现
- AFNetworking 問題
- MATLAB文件操作
- Spring MVC 中 HandlerInterceptorAdapter的使用
- Target runtime Apache Tomcat v6.0 is not defined解决方法
- CSS应用的方式与注意问题
- ARM汇编语言最常用指令
- Android人脸对比
- Python之CMIP自动化测试脚本
- ofbiz安装错误,页面报错:Template location is empty
- Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image!
- 博客生活
- 内存