mvn spring:boot
run 在下面给了我这个错误。
在 Mac OS X lion 上第一次运行 jhipster 之后。我根本没有更改任何文件,只是使用生成的 pom.xml 文件。
mvn 3.0.4 和 3.1.1 都试过了,java 1.7
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 11:22:22-0400)
Maven home: /Users/admin/installs/maven311
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"
错误日志:
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'spring' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/admin/.m2/repository), spring-snapshots (http://repo.spring.io/libs-snapshot), spring-milestones (http://repo.spring.io/milestone), central (http://repo.maven.apache.org/maven2)] -> [Help 1]