I am trying to add spring-security to my grail project, but it does not work when compiling. Here are the plugins that I have in BuildConfig.groovy: `// plugins only for the build system build": tomcat: 7.0.54 "
// plugins for the compile step
compile ":scaffolding:2.1.1"
compile ':cache:1.1.6'
compile ":asset-pipeline:1.8.11"
compile ":mongodb:3.0.1"
compile ":spring-security-core:2.0-RC3"
// plugins needed at runtime but not for compilation
//runtime ":hibernate4:4.3.5.4" // or ":hibernate:3.6.10.16"
runtime ":jquery:1.11.1"`
Compilation error, I received this fatal error message:
Fatal error during compilation java.lang.NoClassDefFoundError: net / sf / ehcache / config / CacheConfiguration
, 'grails compile'.
ehcache , , . , . , , .
mongodb.