首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Grails 2.4.4中jQuery插件的路径问题

Grails 2.4.4中jQuery插件的路径问题
EN

Stack Overflow用户
提问于 2014-12-08 05:04:35
回答 1查看 680关注 0票数 2

我在让jQuery插件与Grails 2.4.4一起工作时遇到了一些问题。这看起来应该是一个简单的设置,但是当我使用grails run-app启动我的应用程序时,我看到以下消息

| Error 2014-12-07 12:38:06,397 localhost-startStop-1 ERROR /plugins/jquery-1.11.1/js/jquery/jquery-1.11.1.min.js -找不到资源: resource.ResourceMeta

在查看文件系统上的"target“目录时,我确实在"plugins”目录下看到了"jquery-1.11.1“目录和jquery-1.11.1.min.js文件,尽管它位于"webapp”目录中。这里是我的BuildConfig文件的相关部分,如有任何帮助,将不胜感激。

代码语言:javascript
复制
plugins {
    // plugins for the build system only
    build ":tomcat:7.0.55"

    // plugins for the compile step
    compile ":scaffolding:2.1.2"
    compile ':cache:1.1.8'
    compile ":asset-pipeline:1.9.9"

    // plugins needed at runtime but not for compilation
    runtime ":hibernate4:4.3.6.1" // or ":hibernate:3.6.10.18"
    runtime ":database-migration:1.4.0"
    runtime ":jquery:1.11.1"
    runtime ":resources:1.2.13"

    // Uncomment these to enable additional asset-pipeline capabilities
    //compile ":sass-asset-pipeline:1.9.0"
    //compile ":less-asset-pipeline:1.10.0"
    //compile ":coffee-asset-pipeline:1.8.0"
    //compile ":handlebars-asset-pipeline:1.3.0.3"
}
EN

回答 1

Stack Overflow用户

发布于 2014-12-08 05:35:50

啊,这是虚惊一场。这是我配置资源插件的方式的问题。为我新手犯的错误道歉。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27347815

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档