<link href="${pageContext.request.contextPath}/resources/css/frame/common.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>
Multiple annotations found at this line:
- javax.servlet.jsp.PageContext cannot be resolved to
a type
- javax.servlet.jsp.JspException cannot be resolved to
a type
不要 直接将jsp-api.jar拷贝到lib目录下,而是通过外部jar包引用。
项目 右键->Properties->Libraries->Add External JARS-
选择 外部的jsp-api.jar(tomcat的lib目录下有)。