---
title: "解决：No configuration found. Configuring ehcache from ehcache-failsafe.xml 问题 "
author: "leaderbird"
date: "2011-07-15T14:14:46Z"
tags: []
categories: ["Web前端"]
slug: "no-configuration-found-configuring-ehcache-from-ehcache-failsafe-xml"
draft: false
lastmod: "2011-07-15T14:14:46Z"
id: 1125201
url: "https://leaderbird.iteye.com/blog/1125201"
---

**解决：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，没有警告了