Groovy Grape "method without body" error -
below code snippet , below error. doing wrong that's obvious? i'm new grapes.
@grab('com.microsoft:ms-sql-server-jdbc-dependencies') grabconfig(systemclassloader=true) import groovy.sql.sql println "hello world"
org.codehaus.groovy.control.multiplecompilationerrorsexception: startup failed: cfwdupdate.groovy: 1: defined method without body. try adding body, or d eclare abstract.
at line: 1 column: 1
you missed @
off
@grabconfig(systemclassloader=true)
Comments
Post a Comment