gpt4 book ai didi

grails - 为什么dbmigrations失败?

转载 作者:行者123 更新时间:2023-12-02 16:00:09 24 4
gpt4 key购买 nike

我尝试在我的应用程序(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)

谢谢

最佳答案

问题解决了。

我的IDE(IntelliJ)向jdom.jar添加了附加的类路径引用

从我的grails交互模式的“运行配置”中删除此引用可以清除所有内容。

关于grails - 为什么dbmigrations失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32204770/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com