You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/06/10 16:44:02 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=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)