我尝试在spring web应用程序中将Shiro从1.2.3升级到1.6.0。我刚刚在gradle中修改了版本,并重新编译了war。但它并没有启动: Caused by: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in theThe source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-
我在运行在Glassfish上的JSF 2 (maven)项目中使用Shiro。添加了所有相关的依赖项(shiro 1.2.2.jar,ehcache-core-2.5.0)。:960) at net.sf.ehcache.store.disk.Segment.get(Segment.java:216)
at net.sf.ehcache<
Caused By: org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: Error configuring fromInitial cause was null:34: Element <cache> does not allow nested <terracotta> elements.
at org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheM