選中項目,右鍵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