hailey-it
hailey-IT
hailey-it
전체 방문자
오늘
어제
  • 전체보기 (29)
    • MSA (4)
    • Redis (2)
    • CS (4)
      • Nerwork (3)
      • Security (1)
    • JPA (1)
    • 대규모 스트림처리 (3)
    • Git (2)
    • Mac M1 (9)
      • Mac (4)
      • App (4)
    • Programming (4)
      • Android (2)
      • IntelliJ (1)
      • React (1)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

최근 댓글

최근 글

hailey-it

hailey-IT

[Mac m1] Spring Cloud Gateway: Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider 에러 해결 방법
Mac M1/Mac

[Mac m1] Spring Cloud Gateway: Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider 에러 해결 방법

2024. 8. 8. 10:00

 

Spring Cloud Gateway를 사용할 때

아래 이미지와 같은 

MacOs 관련 에러가 발생합니다.

 

 

2024-08-07T16:12:53.294+09:00 ERROR 97288 --- [gateway-service] [ctor-http-nio-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

 

netty는 네트워크 애플리케이션 프레임워크로,

DNS 해석을 위해 네이티브 라이브러리를 로드하려고 할 때 문제가 발생합니다.

 

해결 방법은 Mac Os를 위한

netty-resolver-dns-native-macos

의존성을 build.gradle에 추가해 주면 됩니다.

 

 

	implementation 'io.netty:netty-resolver-dns-native-macos:4.1.68.Final:osx-aarch_64'

 

 

저작자표시 (새창열림)

'Mac M1 > Mac' 카테고리의 다른 글

Mac 터미널 AWS ssh 접속 방법  (0) 2024.08.01
[Mac OS] 맥, 맥북 백업, 타임머신 사용법  (0) 2022.12.07
맥, 맥북 mac 에서 아이폰 백업파일 삭제하는 법  (1) 2022.08.14
    'Mac M1/Mac' 카테고리의 다른 글
    • Mac 터미널 AWS ssh 접속 방법
    • [Mac OS] 맥, 맥북 백업, 타임머신 사용법
    • 맥, 맥북 mac 에서 아이폰 백업파일 삭제하는 법
    hailey-it
    hailey-it

    티스토리툴바