konveyor / tackle-pathfinder

Tackle Pathfinder application
Apache License 2.0
16 stars 23 forks source link

Warning: This may result in incorrect DNS resolutions on MacOS #190

Open agoncal opened 2 years ago

agoncal commented 2 years ago

When starting PathFinder locally on MacOS with the mvn quarkus:dev command, you get the following warning:

WARN  [io.net.res.dns.DnsServerAddressStreamProviders] (vert.x-eventloop-thread-1) 
Can not find {} in the classpath, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS.

On the Netty project, @vietj commented that you need to add the following dependency:

<dependency>
  <groupId>io.netty</groupId>
  <artifactId>netty-resolver-dns-native-macos</artifactId>
  <version>4.1.74.Final</version>
  <classifier>osx-x86_64</classifier>
</dependency>

This, indeed, fixed the warning from appearing.