选中项目,右键Configure,选择Convert to Maven Projecthtml
三、http://blog.csdn.net/u014683538/article/details/61196791 eclipse从git上导入maven项目时遇到的问题。(参考该网址)java
四、maven新建web项目提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pathgit
在pom.xml中添加:<dependency>web
<groupId>javax.servlet</groupId>apache
<artifactId>javax.servlet-api</artifactId>api
<version>3.0.1</version>eclipse
<scope>provided</scope>maven
</dependency>ide