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>
  • 相关阅读:
    艾氏筛法资料
    CF Soldier and Cards (模拟)
    CF Soldier and Badges (贪心)
    POJ 1308 Is It A Tree? (并查集)
    HDU 1272 小希的迷宫 (并查集)
    HDU 1213 How Many Tables (并查集)
    POJ 1611 The Suspects (并查集)
    POJ 2236 Wireless Network (并查集)
    Iptables-linux服务器做路由转发
    asdf
  • 原文地址:https://www.cnblogs.com/coderdxj/p/9837268.html
Copyright © 2011-2022 走看看