스프링부트3 Spring과 Spring Boot의 차이 Spring과 Spring Boot의 차이는 뭘까? 질문을 받고서도 뭐가 다른가 찾아보고 아~ 이거구나 했다가 또 까먹고 두세 번 더 찾아봤었다. 이번기회에 확실하게 정리하고 넘어가자. Spring과 Spring Boot 둘 다 스프링 프레임워크를 기반으로 한 자바 웹 개발 프레임워크이다. Spring은 스프링 프레임워크의 핵심 모듈을 모아 만든 프레임워크로, 개발자가 직접 설정 파일을 작성하여 스프링 컨테이너를 구성하고, 필요한 빈 객체를 등록하고, 빈 객체 간의 의존성을 설정해야 한다. 특정한 구성을 위해 추가적인 라이브러리와 설정이 필요하다. Spring Boot는 스프링 프레임워크를 보다 쉽게 사용할 수 있도록 만든 프레임워크이다. 개발자가 설정파일을 작성할 필요 없이, 프로젝트의 설정과 라이브러.. 2023. 10. 17. 파일 업로드 에러(/tmp/undertow) 한동안 이미지 업로드 및 파일 업로드를 하지 않아 에러가 발생하였다. 아래는 에러 로그의 일부이다. 2023-09-12 10:01:02 [WARN ] [AbstractHandlerExceptionResolver.java]logException(199) : Resolved [org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.lang.RuntimeException: java.nio.file.NoSuchFileException: C:\Users\hyo\AppData\Local\Temp\undertow.8002257472558705684.8080.. 2023. 9. 12. RestTemplate 에러 에러가 발생하였다.. public Response send(Request request) thorws JsonProcessingException { try { WebRequest webRequest = new WebRequest(); headers.setContentType(Media.APPLICATION_JSON); String url = apiUrl + "/test"; ResponseEntity responseEntity = restTemplate.exchange(url, HttpMethos.POST, new HttpEntity(webRequest, headers), new ParameterizedTypeReference() {}); // 이 부분에서 오류 발생 ... } } ConcurrentMod.. 2023. 9. 12. 이전 1 다음 반응형