I'm upgrading my Spring Boot version from 2.1.x to 2.4.2. When I compiled and run the code, I got the following warning:
Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider,fallback to system defaults. This may result in incorrect DNS resolutions on MacOS.
java.lang.ClassNotFoundException: io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider
When I deploy the project to DEV environment which is in AWS and CentOS machine, there is no such warning message in the logs.
Thanks,