【BUG】Tomcat:The import javax.servlet.http.HttpServletRequest cannot be resolved:项目导入时错误
1.错误描述Error:The import javax.servlet cannot be resolvedThe import javax.servlet.http.HttpServletRequest cannot be resolvedDescription:在Eclipse中导入项目时提示HttpServletRequest不能引用!2.错误原因在工程里web-inf\lib目录下少了对应包“Package javax.servlet.http”的原因,也就是配置Tomcat环境
原创
2021-09-12 00:13:31 ·
674 阅读 ·
0 评论