您的位置:首页 > 运维架构 > Apache

Unable to parse configuration of mojo org.apache.maven.plugins:maven-archetype-plugin:2.3:

2015-08-20 10:32 816 查看
RT,每次用maven创建一个项目都会出错.具体报错的内容如下;

我在cmd中输入:mvn archetype:create -DgroupId=org.edward.hellomaven -DartifactId=HelloMaven

之后就出错了

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2

.3:create (default-cli) on project standalone-pom: Unable to parse configuration

of mojo org.apache.maven.plugins:maven-archetype-plugin:2.3:create for paramete

r #: Abstract class or interface 'org.apache.maven.artifact.repository.ArtifactR

epository' cannot be instantiated -> [Help 1]


create 改成 generate 就可以了,出现什么要你选择,直接回车,就好了

http://stackoverflow.com/questions/29147329/unable-to-create-a-new-maven-hello-world-project
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: