錯誤整理

  1. 當從git或者svn上下載maven工程,父工程不帶M時

選中項目,右鍵Configure,選擇Convert to Maven Projecthtml

 

  1. maven項目的子項目報紅色感嘆號,pom.xml報錯,maven install控制檯報錯http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 

 

 

三、http://blog.csdn.net/u014683538/article/details/61196791   eclipse從git上導入maven項目時遇到的問題。(參考該網址)java

 

      1. SNAPSHOT

 

 

四、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

相關文章
相關標籤/搜索