groovy.lang.MissingMethodException

No signature of method: cat.Cat.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.lang.Object), print(java.io.PrintWriter), getCount(), wait()

Solutions on the web781

  • No signature of method: cat.Cat.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.lang.Object), print(java.io.PrintWriter), getCount(), wait()
  • No signature of method: cat.Cat.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.lang.Object), print(java.io.PrintWriter), getCount(), wait()
  • No signature of method: de.myproject.MyDomainClass.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.io.PrintWriter), print(java.lang.Object), getCount(), wait()
  • Stack trace

    • groovy.lang.MissingMethodException: No signature of method: cat.Cat.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.lang.Object), print(java.io.PrintWriter), getCount(), wait() at cat.CatTests.testSomething2(CatTests.groovy:37)

    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.