<?xml version="1.0" encoding="UTF-8"?>
<ehcache name="shiroCache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"
updateCheck="false">
<diskStore path="java.io.tmpdir"/>
<defaultCache
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
overflowToDisk="false"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="120" />
<!-- 授權快取-->
<cache name="authorizationCache"
maxEntriesLocalHeap="2000"
eternal="false"
timeToIdleSeconds="3600"
timeToLiveSeconds="0"
overflowToDisk="false"
statistics="true">
</cache>
<!-- 認證快取-->
<cache name="authenticationCache"
maxEntriesLocalHeap="2000"
eternal="false"
timeToIdleSeconds="3600"
timeToLiveSeconds="0"
overflowToDisk="false"
statistics="true">
</cache>
</ehcache>
報錯:org.xml.sax.SAXParseException; systemId: http://ehcache.org/ehcache.xsd; lineNumber: 2; columnNumber: 35; s4s-elt-character: 方案元素中不允許出現除 'xs:appinfo' 和 'xs:documentation' 之外的非空格字符。發現了 '301 Moved Permanently'
新手,請大神賜教!
uj5u.com熱心網友回復:
你的組態檔中有非法字符,建議你用文本編輯器, 可以看到換行, 空格和回車符的編輯器轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/243385.html
標籤:Java相關
上一篇:救命!LWJGL報錯!
