Results 1 to 5 of 5

Thread: Spring-modules cache compatible with Spring 1.2.8?

  1. #1
    Join Date
    Jul 2005
    Location
    Zagreb, Croatia
    Posts
    69

    Default Spring-modules cache compatible with Spring 1.2.8?

    Hello all...

    Is the caching module (v0.7) compatible with Spring 1.2.8?
    I have some issues in my app which are leading me to think that it is not.
    Anybody knows for sure?

    Thanks in advance!

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Can you please post your issues? In the last 2 releases I think we have used Spring 2.0-m4 and in 0.7 we moved to 2.0.1. Caching module has some namespace handling schemas so it does depend on Spring 2 - however, the code is lazy so when using Spring 1.2, the handler classes are not used.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3
    Join Date
    Jul 2005
    Location
    Zagreb, Croatia
    Posts
    69

    Default

    When trying to perform caching with EhCache, i get:

    java.lang.NoSuchMethodException:ReflectionUtils.fi ndMethod()

    And when i look at the Spring javadoc for org.springframework.util.ReflectionUtils in Spring 1.2, there is no "findMethod()" method, while in 2.0.1, such a method indeed exists.

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Seems indeed that the caching module relies on some Spring 2.0 functionality. Please raise an issue on JIRA - I'm not sure if ReflectionUtils will make it into 1.2.9 but it's functionality can be externalized to allow usage of caching module of Spring 1.2.x branch.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  5. #5
    Join Date
    Jul 2005
    Location
    Zagreb, Croatia
    Posts
    69

    Default

    I've taken the ReflectionUtils from Spring 2.0.1, put it in my classpath, and now caching works just fine

    I will rise an issue on the JIRA today..

    Thank you for your time

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •