خرید بک لینک

Vote count: 0

I've got a small test script in grails, but I do not manage to run it.

The script looks like this.

scripts/Test.groovy

includeTargets << grailsScript("_GrailsInit")

    target(test: "The description of the script goes here!") {
    // TODO: Implement script here
    println("test")
}

setDefaultTarget(test)

I run it by the following grails command

run-script  --stacktrace scripts/Test.groovy

This is what I see in my grails shell:

Loading Grails 2.3.5
|Environment set to development
 .............................................................................................Error |
Error loading plugin manager: TomcatGrailsPlugin (Use --stacktrace to see the full trace)
...
 .Error 
 |
 org.codehaus.groovy.grails.cli.ScriptExitException
 Error |
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Error |

How can I work around my problem or solve my problem, to run the script successfully.

asked 41 secs ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 25 بهمن 1394 ساعت: 14:49

صفحه بندی