Multiple annotations found at this line:

Multiple annotations found at this line:

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

在这里插入图片描述

解决办法:到tomcat的lib目录下面找到这个包,然后在eclipse中,右击项目,选择Java Build Path>Libraries>Add External JARS,找到你计算机中的tomcat的安装路径,在common\lib文件夹下,选中"servlet-api.jar"和“jsp-api.jar”,添加点击“确定”,就行了

猜你喜欢

转载自blog.csdn.net/weixin_44142296/article/details/85055881
今日推荐