2013-08-15 1 views
0

Что означает эта ошибка? Как я могу это решить?ERROR dynamiccontroller.DynamicControllerManager [Grails]

| 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 
+0

ли вы изменили свое UrlMappings? Вы можете поделиться? –

ответ

2

Я нашел решение в этом блоге:

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' 
] 
+0

для потомков, третья строка изменяется для grails 2.4: '' com.burtbeckwith.grails.plugins.appinfo.hibernate.HibernateControllerMixin ':' com.burtbeckwith.appinfo_test.AdminManageController ', ' – tedder42

+0

@ tedder42 Этот плагин не работает с Grails 2.4 – confile

+0

нет, но это исправление. На самом деле, я просто попросил об этом. – tedder42