java.lang.NoClassDefFoundError: org/apache/http/params/HttpParams

0 votes

I'm getting

java.lang.NoClassDefFoundError: org/apache/http/params/HttpParams


With a simple java code..



I get

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/params/HttpParams
at project.leaderboards.LeaderboardService.<init>(
at project.leaderboards.ServiceLocator.getLeaderboardService(
at com.fainosag.engine.Main.main(
Caused by: java.lang.ClassNotFoundException: org.apache.http.params.HttpParams
at$ Source)
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more
I've added  App42_JAVA_SDK_2.4.jar to my libs folder, and to build path + export.
asked Aug 22, 2014 in App42 Cloud API-BaaS by paul.bv96 (31 points)
edited Aug 22, 2014 by paul.bv96

1 Answer

+1 vote
Best answer
Hello Paul,
Thanks for sharing the details with us.
Kindly add all the reference jar files  in your project build path which is in lib folder of downloaded sdk and let us know if it resolve your issue.
answered Aug 22, 2014 by hs00105 (2,005 points)
selected Aug 22, 2014 by paul.bv96
I've put all the .jars from the example and worked.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on