Archive for May, 2009

MissingMethodException: No signature of method for Grails Dynamic Method

Monday, May 25th, 2009

In my last post, I described how you can use resources.groovy to create and initialize a class. However, you can get into trouble if the initMethod will access any of the dynamic methods that Grails introduces. If you are not careful, you may get an Exception like the following:

groovy.lang.MissingMethodException: No signature of method: static Thing.count() is applicable ...
(more…)