maven新建web项目时报错
2014-10-05 20:34
190 查看
解决办法
1.从http://maven.oschina.net/content/groups/public/org/apache/maven/archetypes/maven-archetype-webapp/1.0-alpha-4/
下载最新maven-archetype-webapp-1.0-alpha-4.jar
2.cmd的dos命令窗口下输入命令执行:
mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-webapp -Dversion=1.0 -Dpackaging=jar -Dfile=d:\maven-archetype-webapp-1.0-alpha-4.jar
其中d:\maven-archetype-webapp-1.0-alpha-4.jar是你下载jar包的位置
相关文章推荐
- 用Maven新建Web项目时报错
- maven新建Spring MVC + MyBatis + Oracle的Web项目中pom.xml文件
- Eclipse新建Maven web项目
- 【cl】maven新建web项目
- myeclipse 2014新建maven web 项目步骤
- maven新建web项目提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- MyEclipse 新建web属性的Maven项目
- Spring+SpringMVC+Mybatis整合系列(二)Eclipse新建Maven web项目
- maven新建项目时报错
- 使用Eclipse自带的Maven插件创建Web项目时报错: Could not resolve archetype org.apache.maven.archetypes:maven-arche
- 图文详解MyEclipse中新建Maven webapp项目的步骤(很详细)
- 在myeclipse中新建Maven框架的web项目
- myeclipse8.5新建的maven项目变成web项目
- Maven新建web项目
- 在Eclipse中开发Maven-web项目时报错:maven-archetype-webapp
- eclipse新建maven web项目
- eclipse新建maven web项目流程
- 使用Eclipse自带的Maven插件创建Web项目时报错:Could not resolve archetype org.apache.maven.archetypes:maven-archetyp
- 微信开发准备(一)——Maven仓库管理新建WEB项目
- Maven项目Eclipse启动时报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener