小怪瘦79 2023-04-15 10:34 采纳率: 0%
浏览 20

Thingsboard编译问题

编译出错
下载压缩包,解压放到C:\Users\.gradle\wrapper\dists\gradle-7.1.1-bin\f29rtwfnc96ub43tt7p47下,不管用

Thingsboard HTTP Transport Service ................. FAILURE [  2.414 s]
[INFO] Thingsboard MQTT Transport Service ................. SKIPPED
[INFO] Thingsboard CoAP Transport Service ................. SKIPPED
[INFO] Thingsboard LwM2m Transport Service ................ SKIPPED
[INFO] Thingsboard SNMP Transport Service ................. SKIPPED
[INFO] ThingsBoard Server UI .............................. SKIPPED
[INFO] Thingsboard Server Tools ........................... SKIPPED
[INFO] Thingsboard Rest Client ............................ SKIPPED
[INFO] ThingsBoard Server Application ..................... SKIPPED
[INFO] ThingsBoard Microservices .......................... SKIPPED
[INFO] ThingsBoard Docker Images .......................... SKIPPED
[INFO] ThingsBoard Version Control Executor ............... SKIPPED
[INFO] ThingsBoard Version Control Executor Microservice .. SKIPPED
[INFO] ThingsBoard JavaScript Executor Microservice ....... SKIPPED
[INFO] ThingsBoard Web UI Microservice .................... SKIPPED
[INFO] ThingsBoard Node Microservice ...................... SKIPPED
[INFO] ThingsBoard Transport Microservices ................ SKIPPED
[INFO] ThingsBoard MQTT Transport Microservice ............ SKIPPED
[INFO] ThingsBoard HTTP Transport Microservice ............ SKIPPED
[INFO] ThingsBoard COAP Transport Microservice ............ SKIPPED
[INFO] ThingsBoard LWM2M Transport Microservice ........... SKIPPED
[INFO] ThingsBoard SNMP Transport Microservice ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:46 min
[INFO] Finished at: 2023-04-15T10:24:55+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.thingsboard:gradle-maven-plugin:1.0.11:invoke (default) on project http: org.gradle.tooling.BuildException: Could not execute build using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.1.1-bin.zip'. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf org.thingsboard.transport:http

```

  • 写回答

1条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2023-04-18 16:05
    关注
    不知道你这个问题是否已经解决, 如果还没有解决的话:
    • 以下回答来自chatgpt: 作为AI助手,我无法直接判断您遇到了哪些错误或者在哪一步出错了,因为您没有提供具体的错误信息或者编译日志。但是,我可以提供一些可能有用的解决方案,供您参考: 1. 检查Java环境是否正确配置,并尝试更新Java版本。您可以使用以下命令检查Java版本: ``` java -version ``` 2. 检查Gradle环境是否正确配置,并尝试更新Gradle版本。您可以使用以下命令检查Gradle版本: ``` gradle -v ``` 3. 尝试从清华镜像下载Gradle二进制包,替换原有的包。您可以使用以下命令下载Gradle二进制包: ``` wget https://mirrors.tuna.tsinghua.edu.cn/gradle/gradle-7.1.1-bin.zip ``` 4. 清除Gradle缓存并重新编译。您可以使用以下命令清除Gradle缓存: ``` gradle clean ``` 5. 如果仍然无法解决问题,您可以尝试重新克隆Thingsboard项目,并按照官方文档提供的步骤进行编译。您可以使用以下命令重新克隆Thingsboard项目: ``` git clone https://github.com/thingsboard/thingsboard.git ``` 然后按照官方文档提供的步骤进行编译: ``` cd thingsboard ./gradlew build ``` 如果上述方案仍然无法解决您的问题,请提供具体的错误信息或者编译日志,我将尽力为您提供更准确的解决方案。

    如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^
    评论

报告相同问题?

问题事件

  • 创建了问题 4月15日

悬赏问题

  • ¥15 求caverdock使用教程
  • ¥15 Coze智能助手搭建过程中的问题请教
  • ¥15 12864只亮屏 不显示汉字
  • ¥20 三极管1000倍放大电路
  • ¥15 vscode报错如何解决
  • ¥15 前端vue CryptoJS Aes CBC加密后端java解密
  • ¥15 python随机森林对两个excel表格读取,shap报错
  • ¥15 基于STM32心率血氧监测(OLED显示)相关代码运行成功后烧录成功OLED显示屏不显示的原因是什么
  • ¥100 X轴为分离变量(因子变量),如何控制X轴每个分类变量的长度。
  • ¥30 求给定范围的全体素数p的(p-2)/p的连乘积值