How to use local xsd for EhCache with Spring

前端 未结 4 1510
醉话见心
醉话见心 2021-01-12 15:57

We are facing one issue about EhCache and Spring, when we point XSD file in ehcache.xml to http://ehcache.org/ehcache.xsd, everything is ok, our application can startup cor

4条回答
  •  借酒劲吻你
    2021-01-12 16:38

    Download ehcache.xsd, put it to the same folder where is your config xml file. modify the xml head like below, notice the classpath prefix:

    
    

    This will work in the development and production environment.

提交回复
热议问题