编译器用的idea16
千辛万苦使用groovy连接上了远程数据库 之后调用groovy.sql.Sql 里的所有函数都会报下面这个错误。小弟实在想不通 来问问。。
Caught: groovy.lang.MissingMethodException: No signature of method: static groovy.sql.Sql.close() is applicable for argument types: (groovy.sql.Sql) values: [groovy.sql.Sql@b9b00e0]
Possible solutions: close(), collect(), use([Ljava.lang.Object;), CLOB(java.lang.Object), collect(groovy.lang.Closure), BLOB(java.lang.Object)
groovy.lang.MissingMethodException: No signature of method: static groovy.sql.Sql.close() is applicable for argument types: (groovy.sql.Sql) values: [groovy.sql.Sql@b9b00e0]
Possible solutions: close(), collect(), use([Ljava.lang.Object;), CLOB(java.lang.Object), collect(groovy.lang.Closure), BLOB(java.lang.Object)
at sql.run(sql.groovy:19)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
千辛万苦使用groovy连接上了远程数据库 之后调用groovy.sql.Sql 里的所有函数都会报下面这个错误。小弟实在想不通 来问问。。
Caught: groovy.lang.MissingMethodException: No signature of method: static groovy.sql.Sql.close() is applicable for argument types: (groovy.sql.Sql) values: [groovy.sql.Sql@b9b00e0]
Possible solutions: close(), collect(), use([Ljava.lang.Object;), CLOB(java.lang.Object), collect(groovy.lang.Closure), BLOB(java.lang.Object)
groovy.lang.MissingMethodException: No signature of method: static groovy.sql.Sql.close() is applicable for argument types: (groovy.sql.Sql) values: [groovy.sql.Sql@b9b00e0]
Possible solutions: close(), collect(), use([Ljava.lang.Object;), CLOB(java.lang.Object), collect(groovy.lang.Closure), BLOB(java.lang.Object)
at sql.run(sql.groovy:19)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)