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

2021-07-13 19:05

阅读:805

标签:项目   enc   VID   which   dep   span   end   stack   报错   

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.servletgroupId>
        artifactId>jsp-apiartifactId>
        version>2.0version>
        scope>providedscope>
    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

标签:项目   enc   VID   which   dep   span   end   stack   报错   

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


评论


亲,登录后才可以留言!