新建的jsp有时会出现Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path错误。
解决方法:
1、右键项目-build path
2、选择configure build path...
3、选择 java build path
4、Add Library –> server Runtime(或者是MyEclipse Server Library) -> Click Next
5、选择 Server runtime (我的是 Tomcat 8.5) –>完成