Grails:Maven问题

时间:2014-03-25 16:25:20

标签: maven grails

我正在尝试使用Maven原型创建一个新的Grails项目

        <groupId>org.grails</groupId>
        <artifactId>grails-maven-archetype</artifactId>
        <version>2.3.7</version>

创建项目后,我在pom上看到一堆错误

Project build error: Unresolveable build extension: 
Plugin org.grails:grails-maven-plugin:2.3.7 or one of its dependencies could not be resolved: 
Could not find artifact com.sun:tools:jar:1.6 at specified path C:\Program Files\Java\jre7/../lib/tools.jar

为什么要寻找com.sun:tools:jar: 1.6

Project build error: Unknown packaging: grails-app

为什么它会在包装类型上抱怨 - grails-app

Missing artifact org.grails:grails-dependencies:jar:2.3.7

此依赖关系位于何处?

感谢您的帮助!

0 个答案:

没有答案