My task is to list all the files present in a SVN directory for a given url.
DAVRepositoryFactory.setup();
Collection entries = repository.getDir(path, -1, null, (Collection)null);
Iterator iterator = entries.iterator();
while(iterator.hasNext()){
SVNEntry entry = (SVNDirEntry)iterator.next();
println(entry.getName());
}
while executing the code I am getting below error:
java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "oracle.xml.parser.v2.XMLNode.getChildNodes()Lorg/w3c/dom/NodeList;" the class loader (instance of org/codehaus/groovy/tools/RootLoader) of the current class, oracle/xml/parser/v2/XMLNode, and the class loader (instance of ) for interface org/w3c/dom/Node have different Class objects for the type getChildNodes used in the signature
I have added this jar files to the project, "XMlParserv2", "XMLSchema".
I am unable to figure out how to resolve this, Can anyone have any solution for this, or any code samples for this task?