[ 
https://issues.apache.org/jira/browse/ACCUMULO-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Drob updated ACCUMULO-2661:
--------------------------------

    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.


  was:
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.



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

Reply via email to