Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

마이그레이션 #2

Merged
merged 2 commits into from
Nov 16, 2023
Merged

마이그레이션 #2

merged 2 commits into from
Nov 16, 2023

Conversation

chanw12
Copy link
Owner

@chanw12 chanw12 commented Nov 15, 2023

build.gradle

sourceCompatibility = '21'
targetCompatibility = '21'

11 -> 21로 변경

gradle-wrapper.properties

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

gradle버전 8.4로 업데이트 ( 8.4로 업데이트해야 java21과 호환가능)

오류 발생

java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

projectlombok/lombok#3393
참고하여 오류 수정
java 21로 버전이 바뀌면서 롬복의 예전버전과의 충돌

build.gradle

	compileOnly 'org.projectlombok:lombok:1.18.30'
	annotationProcessor 'org.projectlombok:lombok:1.18.30'

롬복 최신버전으로 수정

@chanw12 chanw12 linked an issue Nov 15, 2023 that may be closed by this pull request
6 tasks
Copy link
Owner Author

@chanw12 chanw12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Copy link
Owner Author

@chanw12 chanw12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

스프링 부트 버전 3.1.5로 변경
스프링 부트가 2.x -> 3.1.5로 바뀌면서 javax 패키지가 jakarta로 변경

https://blog.jetbrains.com/idea/2021/06/intellij-idea-eap-6/#automatic_migration_from_java_ee_to_jakarta_ee
이 기능을 사용하여 javax패키지 jakarta로 변경

@chanw12 chanw12 merged commit f5551f5 into main Nov 16, 2023
@chanw12 chanw12 deleted the 1-spring-boot3-마이그레이션 branch November 16, 2023 07:16
@chanw12 chanw12 restored the 1-spring-boot3-마이그레이션 branch November 16, 2023 07:18
chanw12 added a commit that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spring boot3 마이그레이션
1 participant