ERROR 56522 --- [backend] [restartedMain] 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
MacOS에서 DNS 주소를 처리하는 네이티브 라이브러리 오류로 발생한다고 한다.
오류에 따른 부작용은 없다고 하는데 내 경우에는 h2db를 로컬 파일로 로딩하는 게 안 됐었다.
해결방법
현재 m2칩이 들어간 맥북을 사용 중이다.
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.75.Final:osx-aarch_64'
build.gradle의 dependencies에 추가해 준 뒤 서버를 다시 시작해 준다.
추가하고 실행하니 h2db가 문제 없이 동작했다.
'Java > Spring Boot' 카테고리의 다른 글
| HTTP 상태 코드 종류 (0) | 2025.03.27 |
|---|---|
| JWT & CRSF (0) | 2025.03.25 |
| [Spring Boot] email 전송하기 (2) | 2025.01.29 |
| [SpringBoot] Thymeleaf (1) | 2024.12.25 |
| [SpringBoot] Spring Test (1) | 2024.12.25 |