[Grails] 运行grails1.1.1自带的例子报错

tomcatlee 2009-06-05
运行grails1.1.1自带的例子报错
Error executing script RunApp: groovy.lang.MissingMethodException: No signature
of method: _GrailsPackage_groovy.packageFiles() is applicable for argument types
: (java.lang.String) values: [D:\developTool\grails-1.1.1\samples\petclinic]
gant.TargetExecutionException: groovy.lang.MissingMethodException: No signature
of method: _GrailsPackage_groovy.packageFiles() is applicable for argument types
: (java.lang.String) values: [D:\developTool\grails-1.1.1\samples\petclinic]
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
        at gant.Gant.withBuildListeners(Gant.groovy:344)
        at gant.Gant.this$2$withBuildListeners(Gant.groovy)
        at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
        at gant.Gant.dispatch(Gant.groovy:334)
        at gant.Gant.this$2$dispatch(Gant.groovy)
        at gant.Gant.invokeMethod(Gant.groovy)
        at gant.Gant.processTargets(Gant.groovy:495)
        at gant.Gant.processTargets(Gant.groovy:480)
Caused by: groovy.lang.MissingMethodException: No signature of method: _GrailsPa
ckage_groovy.packageFiles() is applicable for argument types: (java.lang.String)
values: [D:\developTool\grails-1.1.1\samples\petclinic]
        at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:124)

        at RunApp$_run_closure1.doCall(RunApp.groovy:28)
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
        ... 10 more
落雷惊虹 2009-06-06
我刚才也运行这个例子了,没有错误,是不是你哪里配置有问题呢?
tomcatlee 2009-06-07
落雷惊虹 写道
我刚才也运行这个例子了,没有错误,是不是你哪里配置有问题呢?


后来我发现不只是运行自带的例子报错,连新建一个工程,再运行都保存,反正我用1.1.1就是不行。
Global site tag (gtag.js) - Google Analytics