You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
ERROR com.akiong.SmsService - No signature of method: com.akiong.SmsService.withHttp() is applicable for argument types: (java.util.LinkedHashMap, com.akiong.SmsService$_sendSms_clos ure2) values: [[uri:https://abc.web.id], com.akiong.SmsService$_sendSms_closure2@48d98154] groovy.lang.MissingMethodException: No signature of method: com.akiong.SmsService.withHttp() is applicable for argument types: (java.util.LinkedHashMap, com.akiong.SmsService$_sendSm s_closure2) values: [[uri:https://abc.web.id], com.akiong.SmsService$_sendSms_closure2@48d98154]
I get a similar error when calling withRest() in a Grails 3.2.4 project. It looks like the plugin is failing to inject its methods into the app's controllers and services.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi.. i am trying to upgrade my project from grails 2.1.1 to grails 3.0.9
in grails 3.0.9 : i install this plugin like this..
compile 'org.grails.plugins:http-builder-helper:1.0.0'
and i run it...
i get this error..
ERROR com.akiong.SmsService - No signature of method: com.akiong.SmsService.withHttp() is applicable for argument types: (java.util.LinkedHashMap, com.akiong.SmsService$_sendSms_clos ure2) values: [[uri:https://abc.web.id], com.akiong.SmsService$_sendSms_closure2@48d98154] groovy.lang.MissingMethodException: No signature of method: com.akiong.SmsService.withHttp() is applicable for argument types: (java.util.LinkedHashMap, com.akiong.SmsService$_sendSm s_closure2) values: [[uri:https://abc.web.id], com.akiong.SmsService$_sendSms_closure2@48d98154]
this is my code com.akiong.SmsService.groovy
withHttp(uri: uri) { client.getParams().setBooleanParameter("http.protocol.expect-continue", false) get(path: '/abc.php', query: [u: smsMaskingUser, p: smsMaskingPassword, d: destinationNo, m: messages]) { resp, reader -> } }
what must i do?
The text was updated successfully, but these errors were encountered: