본문 바로가기

Back-End10

옛 SpringBoot 프로젝트 버전올리기 3 - could not find spring-boot-gradle-plugin > Could not resolve all artifacts for configuration ':classpath'. > Could not find org.springframework.boot:spring-boot-gradle-plugin:2.4.5.RELEASE. 2.4.0 부터는 뒤에 RELEASE가 빠졌다고 한다. plugins.gradle.org/plugin/org.springframework.boot 2021. 5. 9.
옛 SpringBoot 프로젝트 버전올리기 2 - Could not create task ':dependencyManagement' spring.io/projects/spring-boot sprin boot가 2.4.5까지 올라간 이 와중에 옛날프로젝트는 1.3.5에 멈춰 있어서 DependencyManagementPlugin 오류 발생. 친절하게도 어디서 발생했는지 알려주었다. (오류내용) > Failed to apply plugin class 'io.spring.gradle.dependencymanagement.DependencyManagementPlugin'. > Could not create task ':dependencyManagement'. > Could not create task of type 'DependencyManagementReportTask'. 블라블라블라 Caused by: org.gradle.api.inte.. 2021. 5. 9.
옛 SpringBoot 프로젝트 버전올리기 1 - Unsupported Gradle 오류/distributionUrl 설정 옛날옛날 프로젝트를 intelliJ에 import시키려고 했더니 버전이 너무 낮아서 띄워지지를 않는다..O_O 오래되긴했지... 한 6년됐나... (오류내용) Unsupported Gradle. The project uses Gradle 2.13 which is incompatible with IntelliJ IDEA 2020.3.3. Possible solution: - Upgrade Gradle wrapper to 3.0 version and re-import the project 오늘자 기준으로 services.gradle.org/distributions/ 에는 6.9까지 나와있는데 2.13이라니... inetlliJ는 3.0을 이야기 하지만 최신으로 가봅니다. distributionUrl=http.. 2021. 5. 9.
HttpServletResponse.getHeader 메소드 없다면 서블릿 버전 확인 servlet version 3 이상부터만 getHeader 메소드가 사용 가능하다. 따라서 3버전 이하에서는 쿠키를 굽고 (response.setHeader("Set-Cookie", cookieString.toString());) 바로 response에서 빼올 수 (Collection cookies = response.getHeader("Set-Cookie");) 없다. docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html#getHeader(java.lang.String) 서버 버전별 서블릿 버전 확인하기 서블릿 버전은 서버 버전에 따라 다르다. 서버 버전 확인 후 해당 버전에서 어떤 서블릿 버전을 사용하는지 확인한다. Tom.. 2021. 2. 12.