I am trying to run the script below on a Mac and I keep receiving a NoClassDefFoundError exception possibly due to the Chrome driver that I am using (I am assuming that is why I am getting an exception).
Details below:
Configuration
------------------
macOS Sierra v. 10.12.16
Selenium version: 3.6.0.
Chrome version: 2.33
SCRIPT
-----------
RESULT
----------
You are missing the guava libraries. Not sure how you are managing your dependencies.
If you are using Maven, you can follow the instructions here : http://www.seleniumhq.org/download/maven.jsp
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/
--
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-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAG-WgUypqiARc0VbUQASkh1Ke8FynatOU1-2Vqcsekqb6e_vHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I am not using Maven. Should I be? Is there an alternative?
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 seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAG-WgUypqiARc0VbUQASkh1Ke8FynatOU1-2Vqcsekqb6e_vHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/51F2FC32-D723-4ECB-9A48-8920F2007AAC%40gmail.com.
Mike,
The whole point of using a build tool (Can be Maven or Gradle) is to ensure that when it comes to scenarios such as these, you don’t have to juggle around with things.
Is there any specific reason behind you not wanting to use a Build tool?
The root cause of the problem is very straight forward.
Your classpath is missing the guava libraries which selenium requires.
Build tools such as Maven/Gradle help you manage your classpath in an easier fashion.
And no, this issue doesn’t have anything to do with Java9, not atleast to the best of my knowledge.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAG-WgUypqiARc0VbUQASkh1Ke8FynatOU1-2Vqcsekqb6e_vHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/51F2FC32-D723-4ECB-9A48-8920F2007AAC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAG-WgUzeyP%2B_FZHBfn7K3BMFPpJxQudkHK0mXCfM_4mCqi21sQ%40mail.gmail.com.