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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.