NutzCN Logo
问答 nutzcn 启动提示 建立缓存目录失败
发布于 2850天前 作者 Rekoe 1944 次浏览 复制 上一个帖子 下一个帖子
标签:
07:47:13.072 ERROR (EnvironmentLoader.java:146) initEnvironment - Shiro environment initialization failed
org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: Disk store path can't be created: ehcache.disk.store.dir\yvr_cache
	at org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:224) ~[shiro-ehcache-1.3.2.jar:1.3.2]
	at org.apache.shiro.cache.ehcache.EhCacheManager.init(EhCacheManager.java:199) ~[shiro-ehcache-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:785) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133) [shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58) [shiro-web-1.3.2.jar:1.3.2]
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727) [catalina.jar:8.5.11]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5189) [catalina.jar:8.5.11]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.11]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:8.5.11]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) [catalina.jar:8.5.11]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_72]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_72]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
Caused by: net.sf.ehcache.CacheException: Disk store path can't be created: ehcache.disk.store.dir\yvr_cache
	at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:141) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:127) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:154) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.store.disk.DiskStore.createCacheStore(DiskStore.java:182) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.Cache.initialise(Cache.java:1216) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1370) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1436) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:832) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:500) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.CacheManager.init(CacheManager.java:395) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:356) ~[ehcache-2.10.2.2.21.jar:2.10.2.2.21]
	at org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:213) ~[shiro-ehcache-1.3.2.jar:1.3.2]
	... 29 more
三月 05, 2017 7:47:13 上午 org.apache.catalina.core.StandardContext listenerStart
1 回复

没空间?没权限?

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