NoSuchMethodError exception when using com.google.common.base.Splitter

前端 未结 7 2041
一个人的身影
一个人的身影 2021-01-17 07:38

I\'m trying to use com.google.common.base.Splitter as follows

Iterable segs = Splitter.on(\"/\").split(\"one/two/three/four/five\");

for (Stri         


        
7条回答
  •  旧巷少年郎
    2021-01-17 08:26

    Yeah, It's the problem with guava library only. Keep the updated library and remove all remaining versions of guava if you have any and try. Should work fine.

提交回复
热议问题