문제
- webFlux 디펜던시를 추가한 후 서버를 실행하니 다음과 같은 오류가 나타났다.
2024-03-28T17:41:10.857+09:00 ERROR 9091 --- [nio-8080-exec-2] i.n.r.d.DnsServerAddressStreamProviders : Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'. Use DEBUG level to see the full stack: java.lang.UnsatisfiedLinkError: failed to load the required native library
원인
MAC M1, M2 cpu를 사용하면서 netty를 사용하면 발생하는 문제라고 한다.
해결
netty-resolver-dns-native-macos 의존성을 추가해주면 된다.
'트러블 슈팅' 카테고리의 다른 글
hibernate가 기존 DB 테이블을 재생성하는 문제 (0) | 2024.08.05 |
---|---|
JPA Entity 매핑 관련 오류(java.sql.SQLNonTransientConnectionException) (0) | 2024.05.27 |
DB 연동을 위한 도커 경로 설정 문제 (1) | 2024.05.27 |
Docker build context와 파일 인식 (0) | 2024.05.13 |
파일 경로 설정과 URL 객체 인코딩 트러블슈팅 (0) | 2024.02.25 |