Tuesday, November 17, 2009

appfuse EhCacheProvider.buildCache(86) | Could not find configuration

This was happening in my application for which I use Appfuse. I had configured a ehcache.xml for my models and was testing it with DAOs. The ehcache.xml was placed under test/resources. Jetty loads the ehcache.xml which is there in web/resources which I had not updated. After copying this the warning disappeared.

Solution:

1) If you are using Maven project structure, place your ehcache.xml under
\web\src\main\resources.


No comments:

Post a Comment