[Spark sql] (작성중) Caused by: java.lang.ClassNotFoundException: org.codehaus.janino.InternalCompilerException

박해인·2024년 9월 25일
0

Error

목록 보기
11/16

문제상황

Caused by: java.lang.ClassNotFoundException: org.codehaus.janino.InternalCompilerException

원인

해결방법


dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-log4j2'
    implementation 'org.codehaus.janino:janino:3.0.8'
    implementation 'org.codehaus.janino:commons-compiler:3.0.8'// janino 재추가

    implementation ('org.apache.spark:spark-mllib_2.12:3.3.0') // Spark MLlib 의존성 추가

    //spark dependencies
    implementation ('org.apache.spark:spark-sql_2.12:3.3.0') {
        exclude group: 'org.codehaus.janino', module: 'janino'
    }
    implementation ('org.apache.spark:spark-core_2.12:3.3.0') {
        exclude group: 'org.codehaus.janino', module: 'janino'
    }

    implementation 'org.apache.kafka:kafka-streams'
    implementation 'org.springframework.kafka:spring-kafka'

    implementation 'org.springframework.boot:spring-boot-starter-web'

    compileOnly 'org.projectlombok:lombok'
    annotationProcessor 'org.projectlombok:lombok'
    testImplementation 'org.springframework.boot:spring-boot-starter-test'
    testImplementation 'org.springframework.kafka:spring-kafka-test'
    testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
profile
갓생살고싶어라

0개의 댓글