我下载了thingsboard 3.4 然后导入到idea使用mvn 进行构建,但在过程中发现以下错误 :
org.gradle.tooling.BuildException: Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.1.1-bin.zip'.
我在百度上查找答案,修改了 build.gradle文件(两个),在文件中添加以下内容:
buildscript {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
maven { url 'http://maven.aliyun.com/repository/google' }
}
},但没有效果
解决这个问题
关于该问题,我找了一篇非常好的博客,你可以看看是否有帮助,链接:ThingsBoard 开发环境搭建