I'm upgrading my Spring Boot version from 2.1.x to 2.4.2 and using Redisson as Redis Client in the project. 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
However, my code continues to run and to use Redis in my machine. When I deploy the project to DEV environment which is in AWS and CentOS machine, there is no such warning message in the logs. I suspect that there is an incompatibility issue between Spring Boot and Redisson in MacBook when resolving DNS for Redis because when I downgraded Spring Boot to 2.4.1, no warning messages occurred.
Thanks,