我创建了一个新的Grails 2.4项目,删除了hibernate和数据库迁移插件添加了最新的spring安全性和mongo db插件,当我运行时grails compile
出现以下错误
| Error Fatal error during compilation java.lang.NoClassDefFoundError: net/sf/ehcache/config/CacheConfiguration (Use --stacktrace to see the full trace)
如果我删除spring安全插件,它会编译,如果我删除mongoDB插件并使用spring-security与hibernate,它仍然可以工作只有spring security与solo mongoDB插件的组合给出了上述错误.
任何的想法 ?
Gra*_*her 11
看起来spring-security取决于ehcache,但不会这样声明.cache
根据ehcache,我们在插件方面遇到了类似的问题.将其添加到dependencies
BuildConfig 的部分:
compile "net.sf.ehcache:ehcache-core:2.4.8"
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1532 次 |
最近记录: |