无法构建Lagom示例项目

我从 Tech Hub Project Starter. 设置了基于Java的示例lagom项目

我尝试按照lagom网站上给定的命令运行项目

mvn lagom:runAll

获取此错误 .

[ERROR] Failed to execute goal com.lightbend.lagom:lagom-maven-plugin:1.4.5-M1:runAll (default-cli) on project MyProject: Execution default-cli of goal com.lightbend.lagom:lagom-maven-plugin:1.4.5-M1:runAll failed: Unable to load the mojo 'runAll' (or one of its required components) from the plugin 'com.lightbend.lagom:lagom-maven-plugin:1.4.5-M1': java.util.NoSuchElementException
[ERROR]       role: org.apache.maven.plugin.Mojo
[ERROR]   roleHint: com.lightbend.lagom:lagom-maven-plugin:1.4.5-M1:runAll

Maven版本

Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-25T01:19:05+05:30)

Java version: 1.8.0_102, vendor: Oracle Corporation

Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/jre

帮我解决构建问题 .

回答(0)