Quality Testing

Quality is delighting customers

Hi Team,

 

This First time i am working on selenium.

 

I am seeing the below error :

java.lang.NoClassDefFoundError: com/google/common/base/Charsets
 at com.thoughtworks.selenium.HttpCommandProcessor.getOutputStreamWriter(HttpCommandProcessor.java:138)
 at com.thoughtworks.selenium.HttpCommandProcessor.getCommandResponseAsString(HttpCommandProcessor.java:165)
 at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:108)
 at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:90)
 at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:266)
 at com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:227)
 at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:82)
 at com.eviltester.seleniumtutorials.PlacedOrder_final.setUp(PlacedOrder_final.java:12)
 at junit.framework.TestCase.runBare(TestCase.java:132)
 at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:228)
 at junit.framework.TestResult$1.protect(TestResult.java:110)
 at junit.framework.TestResult.runProtected(TestResult.java:128)
 at junit.framework.TestResult.run(TestResult.java:113)
 at junit.framework.TestCase.run(TestCase.java:124)
 at junit.framework.TestSuite.runTest(TestSuite.java:243)
 at junit.framework.TestSuite.run(TestSuite.java:238)
 at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
 at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
 at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Charsets
 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)
 ... 23 more

 

 

I am Not sure, how to resolve the Issue.Please Help me out for the same

 

Note :

I am running : selenium-server-standalone-2.3.0.jar  for server

and selenium-java-2.3.0.jar  and selenium-java-2.3.0-srcs.jar for java client

 Also I am using Eclipse Indigo(IDE Mirror)

 

Error i am seeing is SeleneseTestCase as depricated.

 

Thanks in advance,

Riyazul 

Views: 922

Reply to This

Replies to This Discussion

I am getting the same error message.  Add me in the loop
same error message, add me in the loop also.

Hi Riyazul,

You can use Selenium RC "selenium-remote-control-1.0" download that for better result.

give me ur mail ID will mail u the document that will more useful for u to learn.

Hi Harry,

 

please find my email id : email4riyaz@gmail.com

 

Thanks,

Riyazul

Hi Harry

Could you please send me to anandha31@yahoo.com? Its better to post the material here. So that anybody can share that right?

 

With Regards,

K.Anandhakumar

Hi Harry,

Could you please send documents to me also?

My email id: testing@amitbobade.in

Thanks in advance !!!!!

-Amit

have u installed the JRE 6

install the JRE and configure with the Eclipse

i think it may help u

Hi  Riyazul,

 

If you can tell us the steps u performed while installing selenium with eclipse,

It will be easy to diagnose the problem..

 

-Sarita.

Or whatever the configurations you have done..

Jst let me know...

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2022   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service