我试图在我的应用程序(Grails 2.3.11)中使用dbmigrations插件(1.4),在尝试添加更改集时,我收到与requestCache相关的以下错误。有谁知道它失败的原因?
Error running script dbm-gorm-diff add-sausage.groovy -add: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestCache': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'requestMatcher' of bean class [org.springframework.security.web.savedrequest.HttpSessionRequestCache]: Bean property 'requestMatcher' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? (Use --stacktrace to see the full trace)
由于
答案 0 :(得分:0)
问题解决了..
我的IDE(IntelliJ)正在为jdom.jar
添加一个额外的类路径引用从我的grails交互模式的“运行配置”中删除此引用可以解决问题。