Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4535

hst-jaxrs uses incorrect woodstox dependency

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 13.0.0
    • 4.2.14, 5.6.4, 13.1.2, 13.2.0
    • None
    • Flagged
    • Platform 208 13.2+Maint+SSO

    Description

      Hi,

      In the dependency:  org.onehippo.cms7.hst.components:hst-jaxrs:jar

      There is a library mismatch:

      [INFO] | | | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
      [INFO] | | | +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile
      [INFO] | | | | | +- com.fasterxml.woodstox:woodstox-core:jar:5.1.0:compile

      For now i have excluded the hst-jaxrs jar from our current project. But the solution would be to upgrade the depencencies to:

      [INFO] +- com.fasterxml.woodstox:woodstox-core:jar:5.2.0:compile
      [INFO] | - org.codehaus.woodstox:stax2-api:jar:4.1:compile

       

      The problem that occured was:

      Caused by: java.lang.NoSuchMethodError: org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;

       

      Best regards,

       

      Leon jongsma

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ljongsma Leon Jongsma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: