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

Popular posts from this blog

c# - Attribute value in root node of xml Linq to XML -

ios swift - uiimage array to video disorted and flipped -

scala, transform a callback pattern to a functional style internal iterator -