WebContent/WEB-INF/lib/readme.txt’ in project ‘xxxxxxxxx’ cannot be read or is not a valid ZIP file解

导入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

解决问题方法如下:
1. 用记事本打开项目根目录的.classpath文件,找到“”这一行,删掉
2. 第一个问题解决后,此问题也会消失

你可能感兴趣的:(Java)