build errors in IDEA CE 2025.3.1.1

已回答

Building in IDEA 2025.3.1.1 CE

First time:

PlatformPerformanceBenchmark.java

  • package io.ktor.util.date does not exist
  • static import only from classes and interfaces
  • cannot find symbol method getTimeMillis()

Second time:

Kotlin: [Internal Error] java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.backend.common.IrValidatorConfig.<init>(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, org.jetbrains.kotlin.backend.common.InlineFunctionUseSiteChecker, int, kotlin.jvm.internal.DefaultConstructorMarker)'
    at androidx.compose.compiler.plugins.kotlin.ComposeIrGenerationExtension.generate(ComposeIrGenerationExtension.kt:71)
    at org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt.applyIrGenerationExtensions(convertToIr.kt:498)
    at org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline.runActualizationPipeline(convertToIr.kt:253)
    at org.jetbrains.kotlin.fir.pipeline.Fir2IrPipeline.convertToIrAndActualize(convertToIr.kt:134)
    at org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt.convertToIrAndActualize(convertToIr.kt:100)
    at org.jetbrains.kotlin.fir.pipeline.ConvertToIrKt.convertToIrAndActualize$default(convertToIr.kt:73)
    at org.jetbrains.kotlin.cli.jvm.compiler.legacy.pipeline.JvmCompilerPipelineKt.convertToIrAndActualizeForJvm(jvmCompilerPipeline.kt:101)
    at org.jetbrains.kotlin.cli.pipeline.jvm.JvmFir2IrPipelinePhase.executePhase(JvmFir2IrPipelinePhase.kt:30)

 

0

Hi! Could you create an issue and attach your project - http://kotl.in/plugin-issue?

0

I created KTIJ-37089.

Martin, I do not use Kotlin or know anything about Kotlin compilers. The project is the IDEA open source project. After updating the repo from the IDEA server, shouldn't the project be correctly configured?

 

0

请先登录再写评论。