groovy.lang.MissingMethodException

No signature of method: Demo.somePrivateMethod() is applicable for argument types: (Demo) values: [Demo@2473d930]

Solutions on the web781

  • via GitHub by jeffbrown
    , 1 year ago
    No signature of method: Demo.somePrivateMethod() is applicable for argument types: (Demo) values: [Demo@2473d930]
  • via GitHub by joergrech
    , 1 year ago
    No signature of method: ElasticSearchExample.buildBytes() is applicable for argument types: (org.elasticsearch.common.xcontent.XContentType$1) values: [JSON]
  • via GitHub by ligi
    , 1 year ago
    No signature of method: com.android.build.gradle.AppPlugin.getRuntimeJarList() is applicable for argument types: () values: []
  • Stack trace

    • groovy.lang.MissingMethodException: No signature of method: Demo.somePrivateMethod() is applicable for argument types: (Demo) values: [Demo@2473d930] at SomeTrait$Trait$Helper$_somePublicMethod_closure1.doCall(SomeTrait.groovy:5) at SomeTrait$Trait$Helper$_somePublicMethod_closure1.doCall(SomeTrait.groovy) at SomeTrait$Trait$Helper.somePublicMethod(SomeTrait.groovy:7) at SomeTrait$Trait$Helper$somePublicMethod.call(Unknown Source) at Demo.somePublicMethod(Demo.groovy) at SomeTrait$somePublicMethod.call(Unknown Source) at Demo.main(Demo.groovy:3)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.