使用Grails资源1.2.1我收到以下错误:
2013-09-25 20:59:13,415 [http-nio-80-exec-3] ERROR resource.ResourceMeta - While processing /bundle-bundle_appInfo_head.css, /plugins/app-info-1.0.2/css/table.css, /plugins/app-info-1.0.2/css/jquery.jdMenu.css, /plugins/app-info-1.0.2/css/jquery.jdMenu.slate.css, /plugins/app-info-1.0.2/css/tabs.css, /plugins/app-info-1.0.2/css/tabs-accordion.css, /plugins/app-info-1.0.2/css/appinfo.css, a resource was required but not found: /img/global/gradient/h300.png
2013-09-25 20:59:13,459 [http-nio-80-exec-3] ERROR resource.ResourceMeta - While processing /bundle-bundle_appInfo_head.css, /plugins/app-info-1.0.2/css/table.css, /plugins/app-info-1.0.2/css/jquery.jdMenu.css, /plugins/app-info-1.0.2/css/jquery.jdMenu.slate.css, /plugins/app-info-1.0.2/css/tabs.css, /plugins/app-info-1.0.2/css/tabs-accordion.css, /plugins/app-info-1.0.2/css/appinfo.css, a resource was required but not found: /img/global/gradient/h30.png
我也使用Grails Jquery 1.10.0.2插件并在我的生产系统中出现以下错误:
2013-11-12 16:35:52,201 [http-nio-80-exec-11] ERROR resource.ResourceMeta - Resource not found: /plugins/jquery-1.10.2/js/jquery/jquery-1.10.2.min.map
如何修复这些错误?
答案 0 :(得分:1)
a resource was required but not found: /img/global/gradient/h300.png
h300.png
和h30.png
放到目录中
/img/global/gradient
。OR
h300
和h30
。应修正错误。