idea刷新Gradle项目Failed to apply plugin 'spring-boot'报错

* 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。