Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5028

Update Spring dependency because of classpath conflicts with cglib

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.5.0
    • 7.0.0-M1
    • wicket-spring
    • None
    • wicket-ioc

    Description

      Scenario:
      I'm using Groovy (2.1.0) in my Wicket application which has a dependeny to asm 4.0. Wicket itself depends on cglib 2.2.2 which brings asm 3.3.1.

      -> multiple versions of asm on the classpath -> not amused

      So, I learned that Spring inlines cglib (3.0) and asm (4.0) since Spring 3.2. Would it be possible that Wicket - i.e. wicket-spring and/or wicket-ioc - depends on Spring 3.2.x, so that the dependeny to cglib can be dropped?

      I'm attaching a patch to demonstrate what this could mean. Only drawback I discovered so far: wicket-ioc whould then depend on spring-core, currently there's no dependeny on Spring in wicket-ioc.

      As an alternative we could also inline the required cglib/asm libs - as Spring also does - to avoid classpath conflicts with different version.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            thomas.goetz Tom Götz
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: