用maven命令在命令行中create创建项目出现错误
2017-08-06 19:10
471 查看
用maven命令在命令行中创建项目的时候出现错误:
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create
(default-cli) on project standalone-pom: Unable to parse configuration of mojo org.apache.maven.plugins:maven-archetype-plugin:2.4:create for parameter #: Cannot create instance of interface org.apache.maven.artifact.repository.ArtifactRepository: org.apache.maven.artifact.repository.ArtifactRepository.<init>()
-> [Help 1]
把create改成generate,遇到停顿直接回车即可
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create
(default-cli) on project standalone-pom: Unable to parse configuration of mojo org.apache.maven.plugins:maven-archetype-plugin:2.4:create for parameter #: Cannot create instance of interface org.apache.maven.artifact.repository.ArtifactRepository: org.apache.maven.artifact.repository.ArtifactRepository.<init>()
-> [Help 1]
把create改成generate,遇到停顿直接回车即可
相关文章推荐
- Eclipse下使用Maven创建项目出现的archetype错误
- Maven 命令行创建项目时 Could not find goal ‘create’ in plugin org.apache.maven.plugins:...
- archetype:create-from-project命令创建maven模板工程(自定义项目模板并且上载到maven私服)
- MyEclipse+Maven创建web项目出现的错误总结
- 创建maven项目pom.xml出现错误(依赖Missing)
- maven使用命令创建项目失败[ERROR] Could not find goal 'create' in plugin org.apache.maven.plugins:maven-archety
- 用maven创建项目出现错误Cannot change version of project facet Dynamic Web Module to 3.0
- eclipse创建maven项目时,由于插件错误,出现了目录不匹配,不能自动添加Maven Dependencies
- MyBatis学习总结(八)——Mybatis3.x与Spring4.x整合 一、搭建开发环境 1.1、使用Maven创建Web项目 执行如下命令: mvn archetype:create
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- 使用MyEclipse创建Maven项目出现的错误及解决方法
- 创建Maven项目pom.xml出现错误(依赖Missing)
- Eclipse下使用Maven创建项目出现的archetype错误
- maven创建项目后出现“One or more constraints have not been satisfied、Dynamic Web Module 3.0 requires ”错误解决办法
- 用eclipse创建maven项目老是出现这个错误 'Creating maven-archetype-quickstart' has encountered
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- maven创建的项目出现classnotfoundexception错误,但是jar包各种都有
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- laravel命令创建项目出现的两个小错误