use*_*751 7 java spring intellij-idea kotlin spring-boot
我有一个纯用 Java 编码的 Java Spring Boot 应用程序。当我尝试使用运行配置从 Intellij IDEA 运行它时,出现以下错误:
Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
如果我从运行配置中删除构建步骤,使用 mvn clean install 进行构建,然后运行应用程序,则一切正常。
我尝试在 IDEA 中更改 Kotlin 编译器设置,但问题仍然存在。