Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4899

XStream library incompatibility between shipped Fuse components

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.1
    • Karaf
    • None
    • % %
    • 6.3 Sprint 4 (Mar 28 - Apr 29), Sprint 5 - towards ER2

      The version of spring-batch-core shipped with Fuse 6.1.x (2.2.2.RELEASE) declares dependencies of this form on XStream:

      com.thoughtworks.xstream.io;resolution:=optional;version="[1.3,1.4)"

      The version of XStream that is supplied with Fuse

      Apache ServiceMix :: Bundles :: xstream (1.4.8.1)

      exposes xstream packages with version 1.4.8:

      com.thoughtworks.xstream.io;
      uses:="com.thoughtworks.xstream.io.naming,
      com.thoughtworks.xstream.core.util,
      com.thoughtworks.xstream.converters,
      com.thoughtworks.xstream";
      version=1.4.8,

      The spring-batch-core module will therefore not wire to XStream, and applications fail at runtime with a bunch of NoClassDefFoundExceptions. This problem is not noticed at installation time, because the XStream dependency is marked as optional.

            ggrzybek Grzegorz Grzybek
            rhn-support-kboone Kevin Boone
            Josef Ludvicek Josef Ludvicek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: