Spring 3.2 and Cache Abstraction missing EhCache implementation

前端 未结 3 1930
独厮守ぢ
独厮守ぢ 2020-12-30 23:29

I am migrating our code to Spring 3.2 version (from 3.1.3) and I\'ve got an issue with Spring Cache Abstraction.

We use EhCache imp

相关标签:
3条回答
  • 2020-12-30 23:42

    Using oss.sonatype.org, you can search for a class by name and find in which artifacts it's contained, when they are indexed: https://oss.sonatype.org/index.html#nexus-search;classname~EhCacheCacheManager.

    As SwapnilS has answered, it's in spring-context-support.

    0 讨论(0)
  • 2020-12-30 23:55

    Updating the Maven pom.xml file worked for me.

    Properties:

        <org.springframework-version>3.2.3.RELEASE</org.springframework-version>
    

    Dependencies

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>${org.springframework-version}</version>
        </dependency>
    
    0 讨论(0)
  • 2020-12-30 23:59

    According to Appendix C. Migrating to Spring Framework 3.2,

    "the EHCache support classes in the org.springframework.cache.ehcache package moved from the spring-context module to spring-context-support".

    0 讨论(0)
提交回复
热议问题