Forum Discussion

白夜有点黑's avatar
白夜有点黑
Contributor
5 years ago
Solved

ERROR:groovy.lang.MissingMethodException: No signature of method

I have groovy util class as below:     package com.hypers.test.apitest.util import groovy.sql.Sql class DataBaseUtil { static def database static def connectDB(def url, def username...
  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    5 years ago

    白夜有点黑,

     

    Did you change the definition of sqlcommand as nmrao suggested?

    def sqlcommand = 'SELECT id From configs_account Where name = \'APITEST_NewAccount_ValidData_ACTIVE\''

    Do you get the same error now? Can you please provide us with the new stack trace?