Preloader image
DDD

자바

ehcache.xml - Referenced file contains errors

작성자 관리자 (admin)
조회수 501
입력일 2023-01-22 14:22:44

에러)
Referenced file contains errors (http://ehcache.org/ehcache.xsd). For more information, right click on the message in the Problems View and select "Show Details..."

<?xml version="1.0" encoding="UTF-8"?> <-------------- 이부분 에러 -->
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd" <!------------- 이부분이 오류 ---->
         updateCheck="false"
         monitoring="autodetect"
         dynamicConfig="true">
    <diskStore path="java.io.tmpdir" />
    <cache name="CacheConfig"
           maxEntriesLocalHeap="10000"
           maxEntriesLocalDisk="1000"
           eternal="false"
           diskSpoolBufferSizeMB="20"
           timeToIdleSeconds="300" 
           timeToLiveSeconds="600"
           memoryStoreEvictionPolicy="LFU"
           transactionalMode="off">
        <persistence strategy="localTempSwap" />
    </cache>
</ehcache>

# application.properties
# ehcache 설정
spring.cache.ehcache.config=classpath:ehcache.xml

^