gpt4 book ai didi

spring - 错误dynamiccontroller.DynamicControllerManager [Grails]

转载 作者:行者123 更新时间:2023-12-02 15:09:59 25 4
gpt4 key购买 nike

这个错误是什么意思?我该如何解决?

| Error 2013-08-15 14:39:55,130 [localhost-startStop-1] ERROR dynamiccontroller.DynamicControllerManager  - 
No destination controller specified in the 'controller' property or
'grails.plugins.dynamicController.mixins' config attribute for PropertiesControllerMixin, ignoring

最佳答案

我在此博客文章中找到了解决方案:

http://grails.1312388.n4.nabble.com/Upgrade-error-td3406164.html

把它放在你的config.groovy中:

grails.plugins.dynamicController.mixins = [ 
'com.burtbeckwith.grails.plugins.appinfo.IndexControllerMixin': 'com.burtbeckwith.appinfo_test.AdminManageController',
'com.burtbeckwith.grails.plugins.appinfo.HibernateControllerMixin': 'com.burtbeckwith.appinfo_test.AdminManageController',
'com.burtbeckwith.grails.plugins.appinfo.Log4jControllerMixin' : 'com.burtbeckwith.appinfo_test.AdminManageController',
'com.burtbeckwith.grails.plugins.appinfo.SpringControllerMixin' : 'com.burtbeckwith.appinfo_test.AdminManageController',
'com.burtbeckwith.grails.plugins.appinfo.MemoryControllerMixin' : 'com.burtbeckwith.appinfo_test.AdminManageController',
'com.burtbeckwith.grails.plugins.appinfo.PropertiesControllerMixin' : 'com.burtbeckwith.appinfo_test.AdminManageController',
'com.burtbeckwith.grails.plugins.appinfo.ScopesControllerMixin' : 'com.burtbeckwith.appinfo_test.AdminManageController',
'com.burtbeckwith.grails.plugins.appinfo.ThreadsControllerMixin' : 'com.burtbeckwith.appinfo_test.AdminManageController'
]

关于spring - 错误dynamiccontroller.DynamicControllerManager [Grails],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18252862/

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