I'm making a Reddit app using the jReddit wrapper and I'm having trouble with the apache http client throwing the above exception. My dependencies look like this:
and my libraries look like this:
I have seen other questions on SO regarding similar exceptions, with people saying they may have two of the same jars in their classpath, but I am yet to find an answer which provides me with a solution of how to check for or eliminate duplicate/deprecated jars. Does anyone know how to solve this? Any help greatly appreciated, thanks.
Disclaimer: I am the current maintainer for jReddit project.
We recently released a new version of the jreddit library, which is 1.0.3.
Can you try changing your dependencies to this?
Also, I've explained in another question regarding an android example. Check out this guy