错误为:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 原因是Javaweb工程类中没有添加Tomcat运行时相关类导致(Javaweb工程类中没有添加Web 容器Runtime相关类导致). 解决方式: ① 不进行tomcat的加载,可以在pom.xml中加入jar的依赖: <dependency> <groupId>javax.
Multiple annotations found at this line:- javax.servlet.jsp.JspException cannot be resolved to a type- Attribute (width) is obsolete. Its use is discouraged in HTML5 documents. - javax.servlet.jsp.JspException cannot be resolved to a type 解决步骤: 1.右键