No configuration found. Configuring ehcache from ehcache-failsafe.xml


    <span style="font-family: Times New Roman; font-size: 16px;"> 存在问题:</span>

<span style="font-family: Times New Roman; font-size: 16px;">No configuration found. Configuring ehcache from ehcache-failsafe.xml
</span>

<span style="font-family: Times New Roman; font-size: 16px;">ehcache-failsafe.xml 是来自于ehcache-1.1.jar包,但原因并不是找不到 ehcache-failsafe.xml 而造成的错误。</span>

<span style="font-family: Times New Roman; font-size: 16px;"> 解决办法:</span>

<span style="font-family: Times New Roman; font-size: 16px;">把 ehcache-1.1.jar包里的 ehcache-failsafe.xml 抽取出来,改名为ehcache.xml放到工程的Src目录下,刷新一下并运行,就好了。</span>

<span style="font-family: Times New Roman;"></span>

 

你可能感兴趣的:(java,工作)