
* What went wrong:
A problem occurred evaluating script.
> Failed to apply plugin 'spring-boot'.
> Configuration with name 'runtime' not found.
* 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
以上报错,原因可能是缺失.\gradle\wrapper\gradle-wrapper.jar、.\gradle\wrapper\gradle-wrapper.properties 文件。补全相关文件即可。
Gradlew 是包装器,自动下载包装里定义好的 gradle 版本,保证编译环境统一,gradle 是用本地的 gradle。