io.netty.resolver.dns.DnsServerAddressStreamProviders <clinit>
警告: Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider in the classpath, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS.
解决方式,添加如下jar包:
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns-native-macos</artifactId>
<version>4.1.75.Final</version> <!--版本号自己切-->
<classifier>osx-aarch_64</classifier>
</dependency>