我正在看几个maven教程视频,然后我在安装maven后遇到了这个命令:
mvn archetype:create -DgroupId=com.di.maven -DartifactId=hello-world
Run Code Online (Sandbox Code Playgroud)
构建失败并引发以下错误:
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 parameter #: Abstract
class or interface 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be
instantiated -> [Help 1]
Run Code Online (Sandbox Code Playgroud)
是什么原因,我该如何解决?我在Ubuntu中以用户身份运行.