Closed lty2008one closed 7 months ago
依赖里面引用了guava 13.1,和我项目中的guava 30.1 冲突了, 但是排除之后还是会时不时报Preconditions里面的checkState方法参数不对,结果发现还有一个google-collections包,Preconditions类是google-collections里面加载的
如果要用新版的guava或者引用的依赖里面有新版的guava,一定要排除google-collections
咋搞,需要我升级guava 到最新版么
我觉得最好还是升吧,13太老了
依赖里面引用了guava 13.1,和我项目中的guava 30.1 冲突了, 但是排除之后还是会时不时报Preconditions里面的checkState方法参数不对,结果发现还有一个google-collections包,Preconditions类是google-collections里面加载的
如果要用新版的guava或者引用的依赖里面有新版的guava,一定要排除google-collections