This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

issue with ehcache while configuring in spring context. Cache not getting configured in cacheManager  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Spring 3.0.6 in my project in which i am trying to configure the annotation based ehcache. Below are the beans i have defined for cacheManager and cache in my spring context. When i test this configuration i am not getting the cache under the cacheManger. The requirement is to provide the cache initializing parameters through a property file thats why i am not using external ehcache.xml for cache configuration. I am not sure if i am missing any particular configuration to make it working, as per the API it should add the cache to the cacheManager but while debugging i didn't find any cache in the cacheManager. Please suggest. Many thanks in advance!


maven dependecy inserted in pom
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the entire exception stack trace you are getting when you run your aplication?

Mark
 
That feels good. Thanks. Here's a tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!