标签:servlet servletexception 项目报错 servlet-api
两种解决方法:
1. 如果是Maven项目,添加servlet-api依赖包:
<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> <scope>provided</scope> </dependency>
1) Java Build Path
2) Add Library...
3) MyEclipse Server Library -> Next
4) 选择想要部署到的那个server -> Finish
(原创文章,转载请注明转自Clement-Xu的博客)
项目报错:Cannot find class file for javax/servlet/ServletException
标签:servlet servletexception 项目报错 servlet-api
原文地址:http://blog.csdn.net/clementad/article/details/46670315