当前位置:   article > 正文

eclipse Gradle-Refresh Gradle Project,卡住_failed to notify dependency resolution listener.

failed to notify dependency resolution listener.

报错信息

FAILURE: Build failed with an exception.

* What went wrong:
Failed to notify dependency resolution listener.
> GC overhead limit exceeded

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 9m 46s
Expiring Daemon because JVM heap space is exhausted
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17

C:\Users\HP\.gradle文件夹下创建gradle.properties文件添加

org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=512m
  • 1

Restart eclipse 重新Gradle->Refresh Gradle Project

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/262416
推荐阅读
相关标签
  

闽ICP备14008679号