Details
-
Type:
Bug
-
Status:
In Progress
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 2.0-RC1
-
Fix Version/s: 2.0.2
-
Component/s: Project infrastructure
-
Labels:
-
Environment:Windows XP SP3, JDK 1.6.0_29
Description
When starting console in an application that has a domain class annotated with @Canonical the following error occurs:
| Compiling 37 source files |
| Compiling 11 source files..... |
| Error Error executing script Console: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplication': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.codehaus.groovy.grails.commons.DefaultGrailsApplication]: Constructor threw exception; nested exception is java.lang.ClassFormatError: Duplicate method name&signature in class file Person (Use --stacktrace to s ee the full trace) |
To recreate the issue just unzip the application and run grails console. It's 100% reproducible.