I'm following Mike Kelly's brilliant tutorial videos but I have been stumped by the following problem. It happens when I add a new Domain Class. I've tried backing out changes and adding a DomainClass with a different name, restarting the IDE, etc. With only one Domain Class I have no error, if I add one the error appears.
I'm working with ggts 3.4.0, Grail 2.3.1, JDK 1.7.0_45.
| Error 2013-11-04 21:56:37,442 [Thread-8] ERROR plugins.AbstractGrailsPluginManager - Plugin [domainClass:2.3.1] could not reload changes to file [C:\Grails\ProjectTracker\grails-app\domain\projecttracker\EndUser.groovy]: Ambiguous method overloading for method grails.spring.BeanBuilder#registerBeans.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[interface org.codehaus.groovy.grails.commons.spring.RuntimeSpringConfiguration]
[interface org.springframework.beans.factory.support.BeanDefinitionRegistry]
Message: Ambiguous method overloading for method grails.spring.BeanBuilder#registerBeans.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[interface org.codehaus.groovy.grails.commons.spring.RuntimeSpringConfiguration]
[interface org.springframework.beans.factory.support.BeanDefinitionRegistry]
Line | Method
->> 2980 | chooseMostSpecificParams in groovy.lang.MetaClassImpl
This is a bug. I was able to reproduce the problem when I was investigating http://jira.grails.org/browse/GRAILS-10735 .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With