今天用控制台新建了一个Maven工程。用eclipse导入这个工程后,index.jsp报了这个错误:
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path.
解决方案:
在出现此错误的项目上单击鼠标右键--》Build Path--》Configure Build Path
今天用控制台新建了一个Maven工程。用eclipse导入这个工程后,index.jsp报了这个错误:
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path.
解决方案:
在出现此错误的项目上单击鼠标右键--》Build Path--》Configure Build Path
转载于:https://my.oschina.net/cutecat/blog/489741