You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/04/23 19:09:20 UTC

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

    [ https://issues.apache.org/jira/browse/ACCUMULO-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978474#comment-13978474 ] 

Christopher Tubbs commented on ACCUMULO-2661:
---------------------------------------------

I saw this today, but cleaning and re-importing into my workspace fixed it.

> 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
>              Labels: compile
>
> 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)