如何解决Grails资源找不到插件的错误? [英] How to solve Grails resource not found error for a plugin?
本文介绍了如何解决Grails资源找不到插件的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我建立了一个非常简单的Grails项目。我正在学习测试框架。我跑了:
I have set up an extremely simple Grails project. I am learning the test framework. I ran:
grails test-app
单元测试按预期工作。然而,集成测试阶段报告了一个错误:
The unit test worked as expected. The integration test phase, however, reported an error:
Starting integration test phase ...
2011-05-30 10:10:51,700 [main] ERROR resource.ResourceMeta - Resource not found: /plugins/jquery-1.6.1.1/js/jquery/jquery-1.6.1.min.js
2011-05-30 10:10:51,719 [main] ERROR resource.ResourceMeta - Resource not found: /plugins/jquery-1.6.1.1/js/jquery/jquery-1.6.1.js
我证实我已经安装了jquery插件,并且缺少的文件确实在〜/ .grails / plugins中。有没有一些配置设置,我已经错过了?
I verified that I have the jquery plugin installed, and that the missing files are indeed in ~/.grails/plugins. Is there some configuration setting that I have missed?
推荐答案
什么与我合作取代
<g:javascript library="jquery"/>
with
with
<g:javascript library="jquery" plugin="jquery"/>
这篇关于如何解决Grails资源找不到插件的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文