Skip to content

cheonjeongdae/springboot2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot2.0

spring boot 1.5.3에서 2.0.3 로 변경을 위한 메모

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide

#1 Gradle Plugin build.gradle 에 추가 apply plugin: 'io.spring.dependency-management' // <-- add this to your build.gradle

#2 gradle5 lombok 사용시 build를 하면 lombok 관련 deprecated 오류가 발생, gradle5 부터는 아래 형식으로 변경해야 하는 듯


dependencies {
	annotationProcessor("org.projectlombok:lombok:$lombokVersion")
	compileOnly("org.projectlombok:lombok:$lombokVersion")
	testAnnotationProcessor("org.projectlombok:lombok:$lombokVersion")
	testCompileOnly("org.projectlombok:lombok:$lombokVersion")
}

#3 WebMvcConfigurerAdapter Deprecated. as of 5.0 WebMvcConfigurer has default methods (made possible by a Java 8 baseline) and can be
implemented directly without the need for this adapter

An implementation of WebMvcConfigurer with empty methods allowing subclasses to override only the methods they're interested in.

About

spring boot 2.0 sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages