首页 > 编程语言 > 详细

javax.servlet.jsp.PageContext cannot be resolved to a type

时间:2018-08-27 13:33:44      阅读:140      评论:0      收藏:0      [点我收藏+]

jsp项目中报错:


javax.servlet.jsp.PageContext cannot be resolved to a type

stack overflow上找的解决方案:

 

You will need to import in your project the JSP APIs, which are not included in servlet-api

In my project, the solution is

<dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>jsp-api</artifactId>
        <version>2.0</version>
        <scope>provided</scope>
    </dependency>

 

参考链接:

https://stackoverflow.com/questions/8669387/javax-servlet-jsp-pagecontext-cannot-be-resolved-to-a-type

javax.servlet.jsp.PageContext cannot be resolved to a type

原文:https://www.cnblogs.com/wangleiblog/p/9541558.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!