配置nacos-client时,启动报错guava-31.1-android.jar时出错; zip file is empty
翻看了一下依赖的nacos-api的maven包中,果然有这个版本的guava
在nacos-api中屏蔽掉
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-api</artifactId>
<version>2.2.1</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
此时启动还是报错, 然后重新引入guava
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
</dependency>