I am getting following errors when I intend to run a simple webdriver test
in eclipse. I have added all necessary jars in lib folder, still on
execution I am getting following errors.

Exception in thread "main" java.lang.NoClassDefFoundError:
org/json/JSONException
     at
org.openqa.selenium.firefox.FirefoxProfile.(FirefoxProfile.java:79)
     at
org.openqa.selenium.firefox.FirefoxProfile.(FirefoxDriver.java:266)
     at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:243)
     at
org.openqa.selenium.remote.RemoteWebDriver.(FirefoxDriver.java:197)
     at
org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)
     at
org.openqa.selenium.firefox.FirefoxDriver.(Linear_FramWork.java:18)
Caused by: java.lang.ClassNotFoundException: org.json.JSONException
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
     ... 11 more


please suggest how to get them resolved.


Br
Abhay


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1f10673b-d67f-4b2a-b087-ad54dca4591d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupselenium-users @
categoriesselenium
postedNov 3, '14 at 4:47p
activeNov 4, '14 at 2:30a
posts2
users2
websiteseleniumhq.org

2 users in discussion

Abhay V: 1 post Krishnan Mahadevan: 1 post

People

Translate

site design / logo © 2021 Grokbase