XML
<!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.9</version>
</dependency>
引入hutool 8.1版本的工具包的时候提示
Could not find artifact cn.hutool:hutool-all:jar:8.1 in central (https://repo.maven.apache.org/maven2)
Try to run Maven import with -U flag (force update snapshots)
如下所示:
接着打开 maven官方仓库
https://repo.maven.apache.org/maven2
只找到如下版本的jar包
改成5.8.9版本即可