throws the following exception: IllegalArgumentException No matching method found: getStatements for class org.eclipse.rdf4j.repository.sail.SailRepositoryConnection clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:80)
This appears to be because RepositoryConnection contains two overloads of getStatements of arity 5 which cannot be disambiguated:
public RepositoryResult<Statement> getStatements(Resource subj, IRI pred, Value obj, boolean includeInferred,
Resource... contexts) throws RepositoryException;
@Deprecated
public default RepositoryResult<Statement> getStatements(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts) throws RepositoryException {
return getStatements(subj, (IRI) pred, obj, includeInferred, contexts);
}
Creating a project depending on both grafter
2.1.7
and clojure1.8.0
:the following code
throws the following exception:
IllegalArgumentException No matching method found: getStatements for class org.eclipse.rdf4j.repository.sail.SailRepositoryConnection clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:80)
This appears to be because
RepositoryConnection
contains two overloads ofgetStatements
of arity 5 which cannot be disambiguated: