不要 直接将jsp-api.jar拷贝到lib目录下,而是通过外部jar包引用。
项目 右键->Properties->Libraries->Add External JARS-
选择 外部的jsp-api.jar(tomcat6的lib目录下有)。
相关文章
- 关于eclipse的Description:Resource Path Location Type The project cannot be built until build path errors are resolved的问题
- Eclipse “cannot be resolved to a type” error
- Eclipse问题:Workspace in use or cannot be created, choose a different one.--错误解决办法
- 在Eclipse中编写servlet时出现"The import javax.servlet cannot be resolved" 问题解决办法
- Eclipse打开项目后发生错误: The import javax.servlet cannot be resolved
- (转)eclipse报错及解决说明 "XX cannot be resolved to a type "
- Eclipse “cannot be resolved to a type” error
- PHP错误Cannot use object of type stdClass as array in错误的解决办法
- eclipse报错:Multiple annotations found at this line: - String cannot be resolved to a type解决方法实测
- 解决在eclipse中配置Tomcat时,出现"Cannot create a server using the selected type"的错误