You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2014/04/11 16:29:16 UTC

[jira] [Created] (ACCUMULO-2661) Compile error on XMLConstants

Mike Drob created ACCUMULO-2661:
-----------------------------------

             Summary: Compile error on XMLConstants
                 Key: ACCUMULO-2661
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2661
             Project: Accumulo
          Issue Type: Bug
          Components: test
            Reporter: Mike Drob
            Priority: Minor


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.




--
This message was sent by Atlassian JIRA
(v6.2#6252)