我有一个 grails 应用程序,它在安装shiro plugin
以进行身份验证后停止工作。安装后我收到以下错误。
Error 2014-03-27 11:08:35,985 [localhost-startStop-1] ERROR spring.GrailsRuntimeConfigurator - [RuntimeConfiguration] Unable to load beans from resources.groovy
Message: No signature of method: resources.executorService() is applicable for argument types: (java.lang.Class, resources$_run_closure2) values: [class grails.plugin.executor.PersistenceContextExecutorWrapper, ...]
Line | Method
->> 10 | run in resources
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 736 | invokeBeanDefiningClosure in grails.spring.BeanBuilder
| 569 | beans . . . . . . . . . . in ''
| 511 | invokeMethod in ''
| 334 | innerRun . . . . . . . . in java.util.concurrent.FutureTask$Sync
| 166 | run in java.util.concurrent.FutureTask
| 1145 | runWorker . . . . . . . . in java.util.concurrent.ThreadPoolExecutor
| 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run . . . . . . . . . . . in java.lang.Thread
| Error 2014-03-27 11:08:43,300 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /js/select2.min.js
| Error 2014-03-27 11:08:43,900 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /css/select2.css
| Error 2014-03-27 11:08:43,961 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /css/application.css
| Error 2014-03-27 11:08:44,033 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /js/dataTable/jquery.dataTables.js
| Error 2014-03-27 11:08:44,106 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /js/dataTable/jquery.dataTables.columnFilter.js
| Error 2014-03-27 11:08:44,185 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /js/dataTable/dataTable_Bootstrap.js
| Error 2014-03-27 11:08:44,260 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /css/datatable/jquery.dataTables.css
| Error 2014-03-27 11:08:44,317 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /css/datatable/dataTable_bootstrap.css
| Error 2014-03-27 11:08:44,384 [localhost-startStop-1] ERROR resource.ResourceMeta - Resource not found: /js/jquery-1.8.3.min.js
| Error 2014-03-27 11:08:46,513 [localhost-startStop-1] ERROR resource.ResourceMeta - While processing /css/scaffolding.css, a resource was required but not found: /plugins/twitter-bootstrap-2.3.0/img/glyphicons-halflings.png
| Error 2014-03-27 11:08:50,028 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error executing bootstraps: No such property: filters for class: securitySecurityFilters
Message: No such property: filters for class: securitySecurityFilters
我知道在这里找不到资源,但是我没有对资源和目录做任何事情,只是安装了插件,然后就出现了这个错误。我也尝试卸载插件并重试,但这也没有解决我的问题。