| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- 백준 연결요소 자바
- java 파티
- kotiln const val
- ipfs singletone
- java 팩토리얼 개수
- kotiln const
- java 1238
- ipfs bean
- Java Call By Refernce
- 백준 특정한 최단 경로
- go
- javav 1676
- nodejs rabbitmq
- mongodb lookup
- 백준 2252 줄세우기
- 백준 1504 java
- 안정해시
- kotiln functional interface
- spring mongoTemplate switch
- 자바 백준 팩토리얼 개수
- java 1509
- 자바 1676
- spring mongoTemplate
- 익명 객체 @transactional
- rabbitmq 싱글톤
- spring mongodb switch
- Spring ipfs
- Claude Intelij 연결
- spring mongodb
- java 백준 1509
Archives
- Today
- Total
공부 흔적남기기
Intelij gradle 'compilejava' task (current target is 11) and 'compilekotlin' task (current target is 1.8) jvm target compatibility should be set to the same java version. error 본문
web study/Spring
Intelij gradle 'compilejava' task (current target is 11) and 'compilekotlin' task (current target is 1.8) jvm target compatibility should be set to the same java version. error
65살까지 코딩 2023. 11. 23. 20:54728x90
반응형
스프링 & 코틀린 프로젝트에서
gradle build가 자꾸
'compilejava' task (current target is 11) and 'compilekotlin' task (current target is 1.8) jvm target compatibility should be set to the same java version. error가 뜨면서
stuck이 되는 문제가 있었다.
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}
이 적혀있음에도 계속 오류가났다.
그래서 java 버전이 잘못되었나 확인도 해보았고, gradle에 이것저것도 추가해보고 컴퓨터도 껏다켜보고 intelij setting gralde도 다시 로드해보고 했으나 계속 문제가 반복되었다.
해결방법은 .idea를 지우고 다시 로드했더니 해결되었다..
망할 intelij 버그였다.
728x90
반응형
'web study > Spring' 카테고리의 다른 글
| Spring Scheduler SchedLock MongoDB 설명 및 구현 (0) | 2023.12.01 |
|---|---|
| Spring mongodb mongoTemplate project stage에서 switch 사용하기 (0) | 2023.11.28 |
| Sppring IPFS CLIENT 싱글톤으로 사용시 주의점 (0) | 2023.11.16 |
| 스프링 json 직렬화의 함정 (is가 prefix일 경우 사라짐) (0) | 2023.03.16 |
| JPA를 사용하는 이유와 특징 (0) | 2022.04.15 |