Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONException

1,642 views
Skip to first unread message

Abid Rana

unread,
Jul 23, 2014, 5:43:05 PM7/23/14
to webd...@googlegroups.com
Hi guys,

Please anyone can tell me, what the hell is this problem.




Thanks,
Abid Ali

darrell

unread,
Jul 28, 2014, 8:20:45 AM7/28/14
to webd...@googlegroups.com
Your project cannot find the class org.json.JSONException. Most likely, the necessary jar file isn't in your CLASSPATH. If you are using the Java client bindings you need to include not only the selenium jar file but also all the jar files in the lib directory (part of the zip file you download). Or if you are using a package manager like Maven then your POM file isn't set up correctly.
Reply all
Reply to author
Forward
0 new messages