Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
at java.lang.ClassLoader.defineClass1(Native Method)
[...]
Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[...]
Looks like the newer versions of webdriver needs a newer xml-apis.
I traced it down to a conflict with [com.cemerick/friend "0.1.4"], which transitively pulls an older xerces/xercesImpl and xml-apis.
So, my fix was to add an exclusion:
[com.cemerick/friend "0.1.4" :exclusions [xerces/xercesImpl]]
Cheers,
Fer