Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2661

Compile error on XMLConstants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • test

    Description

      Eclipse will (inconsistently) give two compilation errors in the randomwalk test:

      Description Resource Path Location Type
      W3C_XML_SCHEMA_NS_URI cannot be resolved or is not a field FrameworkTest.java /accumulo-test/src/test/java/org/apache/accumulo/test/randomwalk line 39 Java Problem
      W3C_XML_SCHEMA_NS_URI cannot be resolved or is not a field Module.java /accumulo-test/src/main/java/org/apache/accumulo/test/randomwalk line 431 Java Problem

      I think this is caused by a conflict between javax.xml.XMLConstants present in both stax-api.jar and rt.jar.

      The stax-api.jar is brought in via jettison via jersey-json. I'm not brave enough to untangle the rest of the dependency tree, but my hunch is that we might be able to get rid of this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: