IntelliJ IDEA渐变错误:无法通知生成侦听器



我在Linux上使用Gradle 7.0与Kotlin DSL和IntelliJ IDEA 2019.3.3(终极版(以及openjdk15。

当我想导入我的Gradle项目时,我收到以下错误消息:

> Task :prepareKotlinBuildScriptModel UP-TO-DATE
FAILURE: Build failed with an exception.
* What went wrong:
Failed to notify build listener.
> 'java.lang.String org.gradle.api.artifacts.result.ComponentSelectionReason.getDescription()'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s

当我在没有IDEA的终端上运行同样的东西时,它运行得很好。当我将版本更改为6.8.1时,它也可以正常工作。

你如何修复这个错误,或者这是一个已知的问题,我必须等待另一个工具的发布?

我在Mac上的Intellij IDEA 2017.3中遇到了类似的问题。当我尝试IntelliJ IDEA 2021.2(社区版(时,这个问题得到了解决。

最新更新