加入依赖
1 <!-- https://mvnrepository.com/artifact/com.google.guava/guava --> 2 <dependency> 3 <groupId>com.google.guava</groupId> 4 <artifactId>guava</artifactId> 5 <version>28.0-jre</version> 6 </dependency>
参考:https://blog.csdn.net/qq_23250633/article/details/82699922