找不到Grails资源错误

时间:2014-03-27 06:32:11

标签: grails grails-plugin grails-resources-plugin

我有一个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

我知道这里找不到资源,但我没有对资源和目录做任何事情,只是安装了插件,这个错误就显示出来了。我也试图卸载插件并再试一次,但这也没有解决我的问题。

0 个答案:

没有答案