今天导入以前的2个web项目后会出现以下三个错误:
1. Archive for required library: ‘WebContent/WEB-INF/lib/readme.txt’ in project ‘xxxxxxxxx’ cannot be read or is not a valid ZIP file
2. The project cannot be built until build path errors are resolved
3. Target runtime Apache Tomcat v6.0 is not defined.
这三个问题都很好解决,方法如下:
1. 用记事本打开项目根目录的.classpath文件,找到“<classpathentry kind=”lib” path=”WebContent/WEB-INF/lib/readme.txt”/>”这一行,删掉
2. 第一个问题解决后,此问题也会消失
3. 打开项目根目录下.settings文件夹中的org.eclipse.wst.common.project.facet.core.xml文件,将“<runtime name=”Apache Tomcat v6.0″/>”这一句改成现在所需要的tomcat版本,或者删除中间几行,只留下下面三行就行 “<?xml version=”1.0″ encoding=”UTF-8″?> <faceted-project> </faceted-project>”
转载自:http://www.cnblogs.com/haimingwey/archive/2012/07/17/2595473.html
相关推荐
使用开源shishuo实现的博客系统,使用时请注明出处。
先把dingtalk-sdk-java安装到本地的 maven库...mvn install:install-file -Dfile=/Users/dufuzhong/MyData/MyCode/demo/dingtalk-sdk-java/taobao-sdk-java-auto_1479188381469-20200703.jar -DgroupId=dingding -Darti
包含翻译后的API文档:aliyun-java-sdk-dysmsapi-1.1.0-javadoc-API文档-中文(简体)-英语-对照版.zip; Maven坐标:com.aliyun:aliyun-java-sdk-dysmsapi:1.1.0; 标签:aliyun、java、sdk、dysmsapi、中英对照文档...
解决 The connected J-Link is defective,Proper operation cannot be guaranteed keil5版本比较高时debug会出现以上错误,替换安装文件下的segger 可以解决
包含翻译后的API文档:scala-java8-compat_2.11-0.7.0-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.scala-lang.modules:scala-java8-compat_2.11:0.7.0; 标签:scala、lang、modules、java8、compat、中文...
包含翻译后的API文档:lz4-java-1.8.0-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.lz4:lz4-java:1.8.0; 标签:lz4、java、中文文档、jar包; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”...
【DPI-1047: 64-bit Oracle Client library cannot be loaded: "D:\app\xyg\product\11.2.0\client_1\bin\oci...】 2、网上找了很多教程,没能解决,后面靠自己把问题解决,接下来讲一下如何解决。 解决方案: 1、...
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
1209 - The MySQL server is running with the --read-only option so it cannot execute this statement
包含翻译后的API文档:lz4-java-1.8.0-javadoc-API文档-中文(简体)-英语-对照版.zip; Maven坐标:org.lz4:lz4-java:1.8.0; 标签:lz4、java、中英对照文档、jar包; 使用方法:解压翻译后的API文档,用浏览器打开...
VCS双机启动的时候可能出现如下错误:VCS ERROR V-16-1-10600 Cannot connect to VCS engine 该文档是我在解决该错误的方法,希望能帮助到有需要的朋友!
java: 读取D:\Develop\maven\repository\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar时出错; error in opening zip file 提示jar出问题,找到此处,删除重新下载,但是jar依旧是损坏状态
mail them as a single zip file. If I need a compiled version I will ask for it. If you feel you need to send me a screen shot, please send it in GIF or PNG format. If you mail a bug report to me, ...
导入工程的“The import android cannot be resolved”错误解决方法
用IAR和仿真器给板子下载程序时出现“a target cannot be selected when used in another debug session or in other applications.”解决办法及驱动。
主要介绍了64位linux 编译c提示gnu/stubs-32.h:No such file or directory的解决方法,需要的朋友可以参考下
解决mapgis出现ms-cannot-allocmem错误, ms-cannot-allocmem问题,把它解压后拷贝到mapgis67\program文件下覆盖就成功了
aws-java-sdk-ec2-1.11.277.jar
id -a root 显示用户所在组的所有组名(如root用户,是所有组的组员) df 查看文件系统,查看数据区 用法 df [-F FSType] [-abeghklntVvZ] [-o FSType 特定选项] [目录 | 块设备 | 资源] df -k 以kbytes显示文件...
在vc6上运行程序的时候提示 NMSQL.DLL This required file cannot be loaded. Please re-install Microsoft Visual C++ 压缩包中有解决办法