异常:javax.servlet.jsp.PageContext cannot be resolved to a type
生活随笔
收集整理的這篇文章主要介紹了
异常:javax.servlet.jsp.PageContext cannot be resolved to a type
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
解析JSP文件中的PageContext對象需要以下兩個JAR包(版本沒有具體要求):
<dependency><groupId>javax.servlet</groupId><artifactId>servlet-api</artifactId><version>2.5</version> </dependency> <dependency><groupId>javax.servlet</groupId><artifactId>jsp-api</artifactId><version>2.0</version><scope>provided</scope></dependency>總結
以上是生活随笔為你收集整理的异常:javax.servlet.jsp.PageContext cannot be resolved to a type的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Tomcat下使用Druid配置JNDI
- 下一篇: 提高 Java 中锁的性能的技巧