I\'m trying to use com.google.common.base.Splitter as follows
Iterable segs = Splitter.on(\"/\").split(\"one/two/three/four/five\");
for (Stri
Another reason this happens is if the GSON library is imported before the Guava library.
See: https://github.com/google/guava/issues/2786
I was importing the jars from a folder into IntelliJ. What ended up working was add a "z" next to gson (so the jar would be named zgson) so that Guava would import first.