GDH
GDH copied to clipboard
Vert.x throws an exception at startup
Vert.x throws an exception related to DNS on startup: java.lang.IllegalArgumentException: \etc\resolv.conf didn't provide any name servers This happens only in the beginning, when the NetServer starts listening on localhost. After that the program resumes normally.
up
Seems like an issue with Netty which comes bundled with Vert.x. Supposed to be fixed in the next Vert.x version. A possible workaround can be running the program with an argument: -Dvertx.disableDnsResolver=true
ok, thanks, it is appears when I added logback.xml