I am trying to send an email with Sparkpost using JAVA. I am getting an exception "com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException" and the complete error log is below. Could any one please help me on this.
Oct 22, 2018 4:28:10 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NoSuchMethodError: org.apache.http.client.utils.URLEncodedUtils.encPath(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;