728x90 Spring5 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 DEBU 1. 에러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 library2. 원인MacOSDnsServerAddressStreamP.. 2024. 4. 29. [FileSizeLimitExceededException] The field attachments exceeds its maximum permitted size of 1048576 bytes IllegalStateException:org.apache.tomca.util.http.fileupload.impl.FileSizeLimitExceededException: The field attachments exceeds its maximum permitted size of 1048576 bytes 1. FileSizeLimitExceededException이란? 업로드 시 설정된 파파일 크기가 최대 허용 크기를 초과했을 때 발생하는 에러입니다. Spring Boot는 기본으로 얼마의 최대 허용 크기를 갖는지는 임베디드 서버의 기본 설정에 따릅니다. 보통의 예로 들자면 Spring Boot는 톰캣을 사용하고 톰캣은 단일 파일은 1MB, 전체 데이터 크기는 10MB로 제한합니다. 이 것을 해제하기 위.. 2024. 3. 29. 1-2 RestfulService - Spring MVC 기반의 웹 어플리케이션의 동작 방식 DispathcerServlet은 Servlet의 일종이다. Servlet 클라이언트의 요청을 처리하고, 결과를 반환하는 자바 웹 프로그래밍 기술 일반적으로 Servlet은 Servlet Container에서 관리 Spring에서는 Servlet의 역할을 DispathcerServlet이 수행 Spring은 Tomcat을 일반적으로 사용하기 때문에 Servlet Conatiner와 DispathcerServlet은 web.xml의 설정 값을 공유합니다. Spring Boot는 web.xml이 자동 설정됨. Servlet Container Servlet Instance를 생성하고 관리하는 역할 수행 Tomcat은 WAS의 역할과 Servlet Container 역할을 수행하는 대표적인 컨테이너이다. 특징 .. 2024. 2. 19. 1-1. Restful Service - Spring Boot란? & DispathcerServlet Spring Boot란? 스프링으로 작성된 단독 실행 가능한 어플리케이션을 개발하기 위한 플랫폼 더보기 단독 실행 가능함 = 내장 Tomcat 특징 최소한의 설정만으로도 바로 실행 가능함 Starter 라이브러 간의 충돌을 방지 라이브러리 간의 버전으로 인한 에러 방지 Auto Configuration 자동 설정 불필요한 XML 설정을 하지 않아도 됌 Main Class(Entry Point) 더보기 EntryPoint 프로그램이 시작될 때의 가장 먼저 시작되는 진입점 @SpringBootApplication 아래의 기능을 함 Auto Configuration Component Scan 컴포넌트 시리지를 프로젝트에서 찾아 Spring 빈으로 등록 더보기 Component Series(@ComponentS.. 2024. 2. 18. 이전 1 2 다음 728x90