Exception while deleting from the java API
Whilst calling "cloudinary.api().deleteResources(uploadedImages, Cloudinary.emptyMap())", I get an exception -
java.lang.NoSuchMethodError: org.apache.http.client.utils.URLEncodedUtils.format(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)Ljava/lang/String;
org.apache.http.client.utils.URIBuilder.encodeQuery(URIBuilder.java:176)
org.apache.http.client.utils.URIBuilder.buildString(URIBuilder.java:140)
org.apache.http.client.utils.URIBuilder.build(URIBuilder.java:103)
com.cloudinary.Api.callApi(Api.java:232)
com.cloudinary.Api.deleteResources(Api.java:147)
Looking at the documentation for org.apache.http.client.utils.URLEncodedUtils - it totally does exist, and has for a while. Has anyone else run into this issue?
Running JBoss 7.1.1, with JBoss' EE 6 Libraries. I tried declaring a specific dependency (to Apache http client utils 4.3.2), but it didn't seem to help.
-
Please make sure all the relevant jars are loaded in the same way. and that there aren't any multiple copies of any of the jars.
0 -
Sorry, I should mention I'm using Maven 2 to do my builds, so Maven is handling dependency resolution and there don't seem to be any overlapping dependencies.
0
Post is closed for comments.
Comments
2 comments