Thingsboard Thingsboard HTTP Transport Service 编译问题

15575867900 · 2020年07月08日 · 最后由 thingsboardio 回复于 2020年07月22日 · 277 次阅读
UILD FAILED in 25m 7s
[INFO] Build
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Thingsboard 3.0.1-SNAPSHOT:
[INFO]
[INFO] Thingsboard ........................................ SUCCESS [  2.556 s]
[INFO] Netty MQTT Client .................................. SUCCESS [  8.291 s]
[INFO] Thingsboard Server Commons ......................... SUCCESS [  0.063 s]
[INFO] Thingsboard Server Common Data ..................... SUCCESS [ 11.396 s]
[INFO] Thingsboard Server Common Utils .................... SUCCESS [  0.955 s]
[INFO] Thingsboard Server Common Messages ................. SUCCESS [  7.189 s]
[INFO] Thingsboard Actor system ........................... SUCCESS [  1.967 s]
[INFO] Thingsboard Server Queue components ................ SUCCESS [ 22.218 s]
[INFO] Thingsboard Server Commons ......................... SUCCESS [  0.063 s]
[INFO] Thingsboard Server Common Transport components ..... SUCCESS [  3.697 s]
[INFO] Thingsboard MQTT Transport Common .................. SUCCESS [  4.025 s]
[INFO] Thingsboard HTTP Transport Common .................. SUCCESS [  1.544 s]
[INFO] Thingsboard CoAP Transport Common .................. SUCCESS [  1.528 s]
[INFO] Thingsboard Server Common DAO API .................. SUCCESS [  2.840 s]
[INFO] Thingsboard Extensions ............................. SUCCESS [  0.062 s]
[INFO] Thingsboard Rule Engine API ........................ SUCCESS [  1.856 s]
[INFO] Thingsboard Server DAO Layer ....................... SUCCESS [ 20.823 s]
[INFO] Thingsboard Rule Engine Components ................. SUCCESS [ 12.005 s]
[INFO] Thingsboard Server Transport Modules ............... SUCCESS [  0.062 s]
[INFO] Thingsboard HTTP Transport Service ................. FAILURE [25:31 min]
[INFO] Thingsboard MQTT Transport Service ................. SKIPPED
[INFO] Thingsboard CoAP 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 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 Black Box Tests ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  27:18 min
[INFO] Finished at: 2020-07-08T15:43:01+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.thingsboard:gradle-maven-plugin:1.0.10:invoke (default) on project http: org.gradle.tooling.BuildException: Could not execut
e build using Gradle distribution 'https://services.gradle.org/distributions/gradle-6.3-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 <goals> -rf org.thingsboard.transport:http

更换 maven 和 npm 镜像 使用官方源镜像

关机重试

已解决,更换 maven 镜像,亲测

<mirror>
     <id>nexus-aliyun</id>
     <mirrorOf>central</mirrorOf>
     <name>Nexus aliyun</name>
     <url>https://maven.aliyun.com/repository/public</url>
 </mirror>
15575867900 回复

你的版本是多少呢,thingsboard3.0 吗?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册