seungwonjeong2832
@seungwonjeong2832
Reviews Written
-
Average Rating
-
Posts
Q&A
Book.java Kotlin์ผ๋ก ๋ณ๊ฒฝ ํ ์ค๋ฅ ๋ฌธ์
ํํ๋ ์๋ ํ์ธ์!์ ๋ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋๋ฐbuild.gradle ์implementation 'org.jetbrains.kotlin:kotlin-reflect:1.2.41' ์ ์ถ๊ฐํ๋๊น ํด๊ฒฐ ๋์์ต๋๋ค..! ํน์ ์์ธ์ ์ ์ ์์๊น์?
- 1
- 4
- 667
Q&A
์๋ ํ์ธ์~ kotlin ํจ์ listOf ๊ฐ ๋นจ๊ฐ๊ฒ ๋ณด์ ๋๋ค ใ ใ
์ค... gradle refresh ๋ ์๋์ด ์์๋๋ฐ invalidate cache ๋ฅผ ํ๋๊น ๊น๋ํ๊ฒ ํด๊ฒฐ๋์์ด์!์ด์ ํ๋ฃจ๋์ ์ด๊ฑฐ ๋๋ฌธ์ ๋๋ฌด ์ ๊ฒฝ์ฐ์๋๋ฐ ใ ใ ๊ฐ์ฌํฉ๋๋ค!!
- 1
- 3
- 1.8K
Q&A
@Transactional ์ฌ์ฉ
์ํ! open ์ด ๊ทธ๋ฐ ์๋ฏธ๊ตฐ์~ ์์ํ๊ฒ ํด๊ฒฐ๋์์ต๋๋ค ใ ใ ์ ์๋ ๊ฐ์ฌํฉ๋๋ค~~!
- 1
- 3
- 473
Q&A
์๋ ํ์ธ์~ kotlin ํจ์ listOf ๊ฐ ๋นจ๊ฐ๊ฒ ๋ณด์ ๋๋ค ใ ใ
์ ๊ทธ๋ฆฌ๊ตฌ saveAll ๋ ๋นจ๊ฐ์ค ๋จ๋๋ฐ ์ ๋ฉ๋๋ค~ ์ build.gradle ์... plugins { id 'org.springframework.boot' version '2.6.8' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' id "org.jetbrains.kotlin.jvm" version "1.6.21" id "org.jetbrains.kotlin.plugin.jpa" version "1.6.21" } group = 'com.group' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' runtimeOnly 'com.h2database:h2' testImplementation 'org.springframework.boot:spring-boot-starter-test' } tasks.named('test') { useJUnitPlatform() } compileKotlin { kotlinOptions { jvmTarget = "11" } } compileTestKotlin { kotlinOptions { jvmTarget = "11" } }
- 1
- 3
- 1.8K




