title: Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider
body: <p>I am coding with Vertx, when I run Junit test under my laptop (MacOs), all unit tests failed, in fact, when these unit tests are run successfully under Linux.</p>
  <p>This is my Java 11 version:</p>
  <pre><code>java version &quot;11.0.12&quot; 2021-07-20
  IBM Semeru Runtime Certified Edition 11.0.12.0 (build 11.0.12+7)
  Eclipse OpenJ9 VM 11.0.12.0 (build openj9-0.27.0, JRE 11 Mac OS X amd64-64-Bit Compressed References 20210901_134 (JIT enabled, AOT enabled)
  OpenJ9   - 1851b0074
  OMR      - 9db1c870d
  JCL      - 54d2067eec based on jdk-11.0.12+7)
  
  </code></pre>
  <p>I am using gradle 7.2 as well</p>
  <p>When I ran ./gradlew clean build, then unit test are executed, then I saw the following error. It seem vertx call netty, then netty library get error that complain MacOS.</p>
  <pre><code>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.
  </code></pre>
  <p>BTW, this is our Vertx version</p>
  <pre><code>    implementation group: 'io.vertx', name: 'vertx-core', version: '4.0.3'
  </code></pre>
  <p>Any ideas for that? how to fix it?</p>