导入做好的java项目出现下面的错误The project cannot be built until build path errors are resolved我将一本J2EE书送的光盘里的一个项目拷到myeclipse,但是出现下面一些错误,The project cannot be built until build path errors are resolvedProject 'newsRelease' is missing required library:'E:\tomcat\apache-tomcat-5.5.27\lib\annotations-api.jar'Project 'newsRelease' is missing required library:'E:\tomcat\apache-tomcat-5.5.27\lib\el-api.jar'Project 'newsRelease' is missing required library:'E:\tomcat\apa

问题描述:

导入做好的java项目出现下面的错误The project cannot be built until build path errors are resolved
我将一本J2EE书送的光盘里的一个项目拷到myeclipse,但是出现下面一些错误,
The project cannot be built until build path errors are resolved
Project 'newsRelease' is missing required library:'E:\tomcat\apache-tomcat-5.5.27\lib\annotations-api.jar'
Project 'newsRelease' is missing required library:'E:\tomcat\apache-tomcat-5.5.27\lib\el-api.jar'
Project 'newsRelease' is missing required library:'E:\tomcat\apache-tomcat-5.5.27\lib\jasper.jar'
Project 'newsRelease' is missing required library:'E:\tomcat\apache-tomcat-5.5.27\lib\jsp-api.jar'
Project 'newsRelease' is missing required library:'E:\tomcat\apache-tomcat-5.5.27\lib\servlet-api.jar'

首先说明原因:这个工程,作者在写的时候呢,在build path中添加了他的机器里面的E:\tomcat\apache-tomcat-5.5.27\lib下的一些包,这些细节会被工程记下来.当你导入这个项目的时候呢,会自动到你的E:\tomcat\apache-tomca...