accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2661) Compile error on XMLConstants
Date Tue, 10 Jun 2014 14:44:02 GMT

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

Josh Elser commented on ACCUMULO-2661:
--------------------------------------

To fix this without re-importing into Eclipse, open up the Build-Path menu for the accumulo-test
project, change to the Order and Export tab, and ensure that the Java System library is higher
on the list than the Maven dependencies.

> 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)

Mime
View raw message