解决java web项目出现的有关问题 -cannot be read or is not a valid ZIP file
来源:互联网 发布:nginx lua 读取redis 编辑:程序博客网 时间:2024/05/16 07:33
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>”
0 0
- 解决java web项目出现的有关问题 -cannot be read or is not a valid ZIP file
- 解决java web项目导入后出现的有关问题 -cannot be read or is not a valid ZIP file
- 解决java web项目导入后出现的有关问题 -cannot be read or is not a valid ZIP file
- 解决java web项目导入后出现的问题 ---cannot be read or is not a valid ZIP file
- 解决使用maven的java web项目导入后出现的有关问题, -cannot be read or is not a valid zip file
- 解决java 项目导入后出现的问题 ---cannot be read or is not a valid ZIP file
- Myeclipse的problem中出现cannot be read or is not a valid ZIP file解决
- cannot be read or is not a valid ZIP file
- cannot be read or is not a valid ZIP file
- cannot be read or is not a valid ZIP file
- maven 构建项目出现(Archive for required library: cannot be read or is not a valid ZIP file)
- 解决 eclipse XXX cannot be read or is not a valid ZIP file
- 构建maven项目报cannot be read or is not a valid ZIP file 错
- cannot be read or is not a valid ZIP file问题
- 关于Eclipse导入的Maven项目报:" cannot be read or is not a valid ZIP file"错误的解决方案
- maven项目 关于Eclipse报:" cannot be read or is not a valid ZIP file"的解决方案
- 关于Eclipse报:" cannot be read or is not a valid ZIP file"的解决方案
- WebContent/WEB-INF/lib/readme.txt’ in project ‘xxxxxxxxx’ cannot be read or is not a valid ZIP file解
- count(*)与count(id)
- 实现SMTP批量发信之LoadRunner与JMeter
- IOS7 下修改 UINavigationBar 的背景色和设置标题的颜色
- 从程序员到CTO的Java技术路线图
- 让Ubuntu的ssh保持长时间连接
- 解决java web项目出现的有关问题 -cannot be read or is not a valid ZIP file
- vs2012 中的任务列表
- linux第一个轮下来【常用命令】
- Google Guice
- edit详解
- 分数类的雏形
- Struts Select下拉框
- C++用new创建对象和不用new创建对象的区别解析
- 安卓开发中,listview数量过多,加更多按钮显示