NutzCN Logo
问答 cacheManager报错
发布于 39天前 作者 bb3239 115 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

把nutzwk目录拷贝到另一电脑上,配置好后启动出现这个错误,framework重新编译无效,mvn clean无效,求解!

org.apache.shiro.config.ConfigurationException: Unable to set property 'cacheManager' with value [org.apache.shiro.cache.ehcache.EhCacheManager@5927aa83] on object of type org.apache.shiro.web.mgt.DefaultWebSecurityManager.  If 'org.apache.shiro.cache.ehcache.EhCacheManager@5927aa83' is a reference to another (previously defined) object, prefix it with '$' to indicate that the referenced object should be used as the actual value.  For example, $org.apache.shiro.cache.ehcache.EhCacheManager@5927aa83
	at org.apache.shiro.config.ReflectionBuilder.setProperty(ReflectionBuilder.java:501)
	at org.apache.shiro.config.ReflectionBuilder.applyProperty(ReflectionBuilder.java:450)
	at org.apache.shiro.config.ReflectionBuilder.applyProperty(ReflectionBuilder.java:562)
	at org.apache.shiro.config.ReflectionBuilder.applySingleProperty(ReflectionBuilder.java:206)
	at org.apache.shiro.config.ReflectionBuilder.applyProperty(ReflectionBuilder.java:167)
3 回复

shiro.ini有问题

报错信息页没贴全

@wendal 不好意思,忘了回复你了,解决了,是Win10系统权限的问题,把IDEA用管理员身份启动就行了

添加回复
请先登陆
回到顶部