groovy.lang.MissingMethodException: No signature of method: HelloWorld.should be hello world() is applicable for argument types: (HelloWorld$_run_closure1) values: [HelloWorld$_run_closure1@1abcc03]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You can also get this error if the objects you're passing to the method are out of order. In other words say your method takes, in order, a string, an integer, and a date. If you pass a date, then a string, then an integer you will get this error.

Solutions on the web

via Google Groups by Adam Tybor, 1 year ago
No signature of method: HelloWorld.should be hello world() is applicable for argument types: (HelloWorld$_run_closure1) values: [HelloWorld$_run_closure1@1abcc03]
via Stack Overflow by geretd
, 1 year ago
No signature of method: ConsoleScript3.copyAndReplaceText() is applicable for argument types: (java.io.File, java.io.File, ConsoleScript3$_run_closure1) values: [C:\geretd\resumebak.txt, C:\geretd\resume.txt, ...] Possible solutions: copyAndReplaceText(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)
via Stack Overflow by anish
, 2 years ago
No signature of method: test.test() is applicable for argument types: (java.lang.String) values: [anish]
via Stack Overflow by Vercryger
, 2 years ago
No signature of method: sampleTest.length() is applicable for argument types: (java.util.ArrayList) values: [[2, 3, 8, 9, 0, 1, 5, 7]]
via Stack Overflow by Adam
, 10 months ago
No signature of method: UmpleIntegrationTests.assertTrue() is applicable for argument types: (java.lang.Boolean) values: [true]
via GitHub by aslakhellesoy
, 2 years ago
No signature of method: cucumber.runtime.groovy.interpreted_stepdefs.haveCukes() is applicable for argument types: (java.lang.Integer) values: [12]
groovy.lang.MissingMethodException: No signature of method: HelloWorld.should be hello world() is applicable for argument types: (HelloWorld$_run_closure1) values: [HelloWorld$_run_closure1@1abcc03]
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:78)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
at undefined.HelloWorld.run(HelloWorld.specification:3)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:627)
at org.easyb.domain.Specification.execute(Specification.java:43)
at org.easyb.BehaviorRunner.executeBehaviors(BehaviorRunner.java:126)
at org.easyb.BehaviorRunner.runBehaviors(BehaviorRunner.java:79)
at org.easyb.BehaviorRunner.main(BehaviorRunner.java:56)

Users with the same issue

Once, 1 month ago
Once, 1 month ago
Once, 4 months ago
Once, 6 months ago
Once, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.