[admin@app-duiba001 notify-center]$ gradle test
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ‘:notify-core’.
> Could not resolve all dependencies for configuration ‘:notify-core:classpath’.
> Timeout waiting to lock artifact cache (/home/admin/.gradle/caches/modules-2). It is currently in use by another Gradle instance.
Owner PID: 12311
Our PID: 12540
Owner Operation: resolve configuration ‘:notify-core:classpath’
Our operation: resolve configuration ‘:notify-core:classpath’
Lock file: /home/admin/.gradle/caches/modules-2/modules-2.lock
* Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.
BUILD FAILED
解决:
find ~/.gradle -type f -name “*.lock” | while read f; do rm $f; done
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/190942.html