tomcat启动报错

  tomcat启动时,总是提示The project was not built since its build path is incomplete,Cannot find the class file  for javax.servlet.http.HttpServletRequest. Fix the build path then try building this project.

The type javax.servlet.http.HttpServletRequest cannot be resolved.It is indirectly referenced from required .class files

后经查看,发现是因为我移除了项目运行所需的 j2EE 1.4 Libraries ,解决方式如下:

在项目上右键 --> properties --> Java Build Path --> Libraries --> Add Library 选择 MyEclipse Libraries ,然后根据需要选择。

 

OVER!

posted @ 2016-09-28 21:32  Tanght  阅读(345)  评论(0编辑  收藏  举报