eclipse导入外部maven工程后报the superclass.. was not found

今天用控制台新建了一个Maven工程。用eclipse导入这个工程后,index.jsp报了这个错误:

eclipse导入外部maven工程后报the superclass.. was not found_第1张图片

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path.


解决方案:

 在出现此错误的项目上单击鼠标右键--》Build Path--》Configure Build Patheclipse导入外部maven工程后报the superclass.. was not found_第2张图片

eclipse导入外部maven工程后报the superclass.. was not found_第3张图片

eclipse导入外部maven工程后报the superclass.. was not found_第4张图片

eclipse导入外部maven工程后报the superclass.. was not found_第5张图片

eclipse导入外部maven工程后报the superclass.. was not found_第6张图片

eclipse导入外部maven工程后报the superclass.. was not found_第7张图片

你可能感兴趣的:(eclipse,maven)