解决:No configuration found. Configuring ehcache from ehcache-failsafe.xml 问题

解决:No configuration found. Configuring ehcache from ehcache-failsafe.xml 问题 (来自:http://blog.csdn.net/adolfsabin/article/details/4678870).

 

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

 ehcache-failsafe.xml 是来自于ehcache-1.1.jar包,但原因并不是找不到 ehcache-failsafe.xml 而造成的错误,
 

把 ehcache-1.1.jar包里的 ehcache-failsafe.xml 抽取出来,改名为ehcache.xml放到工程的Src目录下,刷新一下并运行,OK,没有警告了

你可能感兴趣的:(configuration)