The|The import javax.servlet.jsp.JspException cannot be resolved
【The|The import javax.servlet.jsp.JspException cannot be resolved】因为缺少servlet-api.jar包,解决办法:把servlet-api.jar拖进工程里面就可以了 编译用,然后确保工程/wen-inf/lib里面也有一个运行用支持servlet的jar包。应该叫servlet-api.jar如果编写过servlet就知道要用到HttpServletRequest和HttpServletResponse等对象,这些对象都是要靠这个jar包才能使用的。如果安装了Tomcat,这个jar包一般在tomcat安装目录\lib 文件夹下面有,把web项目部署到tomcat,会自动加载这个jar包来识别Serlvet一些对象。
推荐阅读
- 【Thesewt】蒙昧(续)
- Spring|Spring Boot之ImportSelector
- The|The Help week 3
- The|The ideal servant
- 分析COMP122 The Caesar Cipher
- Spring注解05|Spring注解05 @Import 给容器快速导入一个组件
- 清晨朗读327(How|清晨朗读327:How Successful People Network with Each Other)
- 【天馬座|【天馬座 ? 翼ノ幻想】~《The Pegasus Fantasy》
- The|The Dump Truck Song
- OpenCV|OpenCV for Unity 通过WebCamTextureToMatHelper帮助类来获取摄像头的画面