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# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -