Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6708

Conflicting class org.apache.cxf.configuration.spring.StringBeanDefinitionParser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • None
    • Invalid
    • Build system
    • None
    • Unknown

    Description

      We have upgraded Spring Security to 4.0.3. However we see that cxf-api and cxf bundle is not upgraded to use it.
      cxf-core is upgraded to support Spring Security

      However we require cxf-core as well as cxf-bundle(for cxf stubbing wsdl2Java)

      The issue is that StringBeanDefinitionParser is present in both the these jars with same package name and contents. with one major difference
      StringBeanDefinitionParser in cxf-core has below line
      builder.addConstructorArgValue(DOMUtils.getRawContent(element));
      StringBeanDefinitionParser in cxf-bundle has below line
      builder.addConstructorArg(DOMUtils.getRawContent(element));

      Always the StringBeanDefinitionParser in cxf-bindle takes precedence and the war deployment fails.

      cxf should make these method calls consistent to cope up with upgraded spring security version
      Don't understand why this was missed.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            hchikhal Rohit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: