Grails Spring安全acl和Postgres

Grails Spring安全acl和Postgres,grails,spring-security-acl,Grails,Spring Security Acl,使用“spring security acl:2.0-RC1”作为Grails插件,并将应用程序链接到Postgres 9.3数据源,启动时会出现以下错误: .. finished configuring Spring Security ACL 2013-12-19 13:20:19,588 ERROR [GrailsContextLoader] - Error initializing the application: Error creating bean with name 'webExp

使用“spring security acl:2.0-RC1”作为Grails插件,并将应用程序链接到Postgres 9.3数据源,启动时会出现以下错误:

.. finished configuring Spring Security ACL
2013-12-19 13:20:19,588 ERROR [GrailsContextLoader] - Error initializing the application: Error creating bean with name 'webExpressionVoter': Cannot resolve reference to bean 'webExpressionHandler' while setting bean property 'expressionHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webExpressionHandler': Cannot resolve reference to bean 'permissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionEvaluator': Cannot resolve reference to bean 'aclService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityAclAclService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclCache': Cannot resolve reference to bean 'ehcacheAclCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAclCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webExpressionVoter': Cannot resolve reference to bean 'webExpressionHandler' while setting bean property 'expressionHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webExpressionHandler': Cannot resolve reference to bean 'permissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionEvaluator': Cannot resolve reference to bean 'aclService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityAclAclService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclCache': Cannot resolve reference to bean 'ehcacheAclCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAclCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webExpressionHandler': Cannot resolve reference to bean 'permissionEvaluator' while setting bean property 'permissionEvaluator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionEvaluator': Cannot resolve reference to bean 'aclService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityAclAclService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclCache': Cannot resolve reference to bean 'ehcacheAclCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAclCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
    ... 4 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionEvaluator': Cannot resolve reference to bean 'aclService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityAclAclService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclCache': Cannot resolve reference to bean 'ehcacheAclCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAclCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
    ... 4 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityAclAclService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclCache': Cannot resolve reference to bean 'ehcacheAclCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAclCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
    ... 4 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclCache': Cannot resolve reference to bean 'ehcacheAclCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAclCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
    ... 4 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAclCache': Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
    ... 4 more
Caused by: net.sf.ehcache.CacheException: aclCache Cache: Could not create disk store. This CacheManager configuration does not allow creation of DiskStores. If you wish to create DiskStores, please configure a diskStore path.
    at net.sf.ehcache.store.compound.factories.DiskOverflowStorageFactory.getDataFile(DiskOverflowStorageFactory.java:81)
    at net.sf.ehcache.store.compound.factories.DiskOverflowStorageFactory.<init>(DiskOverflowStorageFactory.java:73)
    at net.sf.ehcache.store.compound.impl.OverflowToDiskStore.create(OverflowToDiskStore.java:63)
    at net.sf.ehcache.Cache.initialise(Cache.java:1113)
    at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1100)
    at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1006)
    ... 4 more
。。已完成配置Spring安全ACL
2013-12-19 13:20:19588错误[GrailContextLoader]-初始化应用程序时出错:创建名为“webExpressionVoter”的bean时出错:设置bean属性“expressionHandler”时无法解析对bean“webExpressionHandler”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“webExpressionHandler”的bean时出错:设置bean属性“permissionEvaluator”时无法解析对bean“permissionEvaluator”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“permissionEvaluator”的bean时出错:设置构造函数参数时无法解析对bean“aclService”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“SpringSecurityACLService”的bean时出错:bean初始化失败;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“aclCache”的bean时出错:设置构造函数参数时无法解析对bean“ehcacheAclCache”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“ehcacheAclCache”的bean时出错:调用init方法失败;嵌套异常为net.sf.ehcache.CacheException:aclCache缓存:无法创建磁盘存储。此CacheManager配置不允许创建DiskStores。如果要创建diskStore,请配置diskStore路径。
org.springframework.beans.factory.BeanCreationException:创建名为“webExpressionVoter”的bean时出错:设置bean属性“expressionHandler”时无法解析对bean“webExpressionHandler”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“webExpressionHandler”的bean时出错:设置bean属性“permissionEvaluator”时无法解析对bean“permissionEvaluator”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“permissionEvaluator”的bean时出错:设置构造函数参数时无法解析对bean“aclService”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“SpringSecurityACLService”的bean时出错:bean初始化失败;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“aclCache”的bean时出错:设置构造函数参数时无法解析对bean“ehcacheAclCache”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“ehcacheAclCache”的bean时出错:调用init方法失败;嵌套异常为net.sf.ehcache.CacheException:aclCache缓存:无法创建磁盘存储。此CacheManager配置不允许创建DiskStores。如果要创建diskStore,请配置diskStore路径。
在java.util.concurrent.FutureTask.run(FutureTask.java:262)处
位于java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
位于java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
运行(Thread.java:724)
原因:org.springframework.beans.factory.BeanCreationException:创建名为“webExpressionHandler”的bean时出错:设置bean属性“permissionEvaluator”时无法解析对bean“permissionEvaluator”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“permissionEvaluator”的bean时出错:设置构造函数参数时无法解析对bean“aclService”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“SpringSecurityACLService”的bean时出错:bean初始化失败;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“aclCache”的bean时出错:设置构造函数参数时无法解析对bean“ehcacheAclCache”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“ehcacheAclCache”的bean时出错:调用init方法失败;嵌套异常为net.sf.ehcache.CacheException:aclCache缓存:无法创建磁盘存储。此CacheManager配置不允许创建DiskStores。如果要创建diskStore,请配置diskStore路径。
... 4更多
原因:org.springframework.beans.factory.BeanCreationException:创建名为“permissionEvaluator”的bean时出错:设置构造函数参数时无法解析对bean“aclService”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“SpringSecurityACLService”的bean时出错:bean初始化失败;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“aclCache”的bean时出错:设置构造函数参数时无法解析对bean“ehcacheAclCache”的引用;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“ehcacheAclCache”的bean时出错:调用init方法失败;嵌套异常为net.sf.ehcache.CacheException:aclCache缓存:无法创建磁盘存储。此CacheManager配置不允许创建DiskStores。如果要创建diskStore,请配置diskStore路径。
... 4更多
原因:org.springframework.beans.factory.BeanCreationException:创建名为“SpringSecurityACLService”的bean时出错:bean初始化失败;嵌套异常为org.springframework.beans.factory.BeanCreationException:创建名为“aclCache”的bean时出错:设置构造函数argu时无法解析对bean“ehcacheAclCache”的引用
beans = {
   ehcacheAclCache(EhCacheFactoryBean) {
      cacheManager = ref('aclCacheManager')
      cacheName = 'aclCache'
      overflowToDisk = false
   }
}