tomcat启动报错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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!
以上是关于tomcat启动报错的主要内容,如果未能解决你的问题,请参考以下文章