This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

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
Posts: 17344
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?

If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!