zoukankan      html  css  js  c++  java
  • Cannot find the declaration of element 'ehcache'.

    ehchahe.xml中报错:

    Cannot find the declaration of element 'ehcache'.

    由于

    <?xml version="1.0" encoding="utf-8"?>
    <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="ehcache.xsd">//路径不对
    <diskStore path="java.io.tmpdir" />
    <defaultCache maxElementsInMemory="1000" eternal="false"
    timeToIdleSeconds="600" timeToLiveSeconds="600" overflowToDisk="true"
    memoryStoreEvictionPolicy="LRU" />

    <cache name="schoolInfo" maxElementsInMemory="5000" eternal="false"
    timeToLiveSeconds="7200" timeToIdleSeconds="7200" overflowToDisk="true" />
    </ehcache>

    改为:

    <?xml version="1.0" encoding="utf-8"?>
    <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd">
    <diskStore path="java.io.tmpdir" />
    <defaultCache maxElementsInMemory="1000" eternal="false"
    timeToIdleSeconds="600" timeToLiveSeconds="600" overflowToDisk="true"
    memoryStoreEvictionPolicy="LRU" />

    <cache name="schoolInfo" maxElementsInMemory="5000" eternal="false"
    timeToLiveSeconds="7200" timeToIdleSeconds="7200" overflowToDisk="true" />
    </ehcache>
  • 相关阅读:
    【bzoj2820】GCD
    【learning】莫比乌斯反演
    【bzoj2151】种树
    【noip模拟】局部最小值
    【learning】多项式乘法&fft
    【learning】二分图最大匹配的König定理
    【noip模拟】2048
    【noip模拟】修长城
    【noip模拟】最小点覆盖
    【noip模拟】Fantasia
  • 原文地址:https://www.cnblogs.com/coderdxj/p/9837268.html
Copyright © 2011-2022 走看看