6
我在我的web应用程序项目中广泛使用groovy类。我可以创建一个类型的实例(定义为一个groovy类),但不能在以后回退(发生GroovyCastException
)。Groovy 2.0.1,GroovyCastException在我自己的类?
org.codehaus.groovy.runtime.typehandling.GroovyCastException:不能带班 'com.company.role.delegation.ProfileModel' 投对象[email protected]“上课” com.company.role.delegation.ProfileModel'
根据上述错误消息,源和目标类的类型是相同的。咦?