HttpServlet cannot be resolved to a type && Tomcat创建Servlet出现异常
HttpServlet cannot be resolved to a type
异常现象:
错误提示:
- HttpServlet cannot be resolved to a type
问题:
发现HttpServlet这个类根本就找不到,于是乎问题找到了—-没有这个库;
解决思路:
引入相关库.
本例中遇到是在tomcat使用向导创建Servlet后出现...
原创
2018-04-26 21:21:51 ·
551 阅读 ·
0 评论