我收到这样的错误
| Loading Grails 2.1.4
| Configuring classpath.
| Environment set to development.....
| Packaging Grails application.....
| Compiling 2 source files.....
| Error Error: The following plugins failed to load due to missing dependencies: [cacheHeaders]
- Plugin: cacheHeaders
- Dependencies:
- controllers (Required: 1.1 > *, Found: 2.1.4)
! logging (Required: 1.1 > *, Found: Not Installed) [INVALID]
我正在使用 Grials 2.1.4 添加插件后 cache-1.0.1 cache-hearders -1.5.1 我遇到了上述错误。
在 Grails 文档中,它说这些也将支持 Grails 2.1。Grails 版本:1.2 > * -- 我理解这个意思是,它也支持到 2.1.4。请参考:http ://grails.org/plugins/search?q=cache-headers
else could you please refer any references to do "**cached-resourses in 2.1.4**".
但我做了一个示例 Grails(2.1.4) 应用程序并添加了相同的插件。它运行良好。
我的示例应用程序:
APPLICATION STATUS
App version: 0.1
Grails version: 2.1.4
Groovy version: 1.8.8
JVM version: 1.7.0_15
Reloading active: true
Controllers: 1
Domains: 0
Services: 3
Tag Libraries: 13
INSTALLED PLUGINS
logging - 2.1.4
core - 2.1.4
codecs - 2.1.4
i18n - 2.1.4
urlMappings - 2.1.4
dataSource - 2.1.4
controllers - 2.1.4
servlets - 2.1.4
mavenPublisher - 0.8.1
resources - 1.1.6
webxml - 1.4.1
databaseMigration - 1.3.2
cacheHeaders - 1.1.5
jquery - 1.8.3
tomcat - 2.1.4
groovyPages - 2.1.4
domainClass - 2.1.4
filters - 2.1.4
converters - 2.1.4
mimeTypes - 2.1.4
scaffolding - 2.1.4
hibernate - 2.1.4
validation - 2.1.4
services - 2.1.4
cache - 1.0.1
谢谢