关于HttpServlet cannot be resolved to a type的解决方法
复习servlet的时候发现了的一个问题:“HttpServlet cannot be resolved to a type”这种报错关于这种报错的解决方法如下:右键项目名选择properties选择Java Build Path选择Add External JARs然后在自己电脑中找到servlet-api.jar最后apply--->ok问题就解决了...
原创
2018-05-29 14:43:37 ·
29227 阅读 ·
11 评论