shibing624 / similarity

similarity: Text similarity calculation Toolkit for Java. 文本相似度计算工具包,java编写,可用于文本相似度计算、情感分析等任务,开箱即用。
https://shibing624.github.io/similarity/
Apache License 2.0
1.41k stars 325 forks source link

这个依赖太坑了吧 #40

Closed lty2008one closed 7 months ago

lty2008one commented 1 year ago

依赖里面引用了guava 13.1,和我项目中的guava 30.1 冲突了, 但是排除之后还是会时不时报Preconditions里面的checkState方法参数不对,结果发现还有一个google-collections包,Preconditions类是google-collections里面加载的

如果要用新版的guava或者引用的依赖里面有新版的guava,一定要排除google-collections

shibing624 commented 1 year ago

咋搞,需要我升级guava 到最新版么

lty2008one commented 1 year ago

咋搞,需要我升级guava 到最新版么

我觉得最好还是升吧,13太老了