Thingsboard thingsboard 编译问题:[ERROR] Failed to execute goal org.thingsboard:gradle-maven-plugin:1.0.10:invoke (default) on project http: Execution default of goal org.thingsboard:gradle-maven-plugin:1.0.10:invoke failed: Plugin org.thingsboard:gradle-maven-plugin:1.0.10 or one of its dependencies could not be resolved: Fail ure to find org.gradle:gradle-tooling-api:jar:6.3 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of aliyun_nexus has elapsed or updates are forced -> [Help 1]

tb · 2020年06月02日 · 最后由 15575867900 回复于 2020年07月08日 · 262 次阅读
[INFO] --- gradle-maven-plugin:1.0.10:invoke (default) @ http ---
[WARNING] The POM for org.gradle:gradle-tooling-api:jar:6.3 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Thingsboard 3.0.0:
[INFO]
[INFO] Thingsboard ........................................ SUCCESS [  1.223 s]
[INFO] Netty MQTT Client .................................. SUCCESS [  3.745 s]
[INFO] Thingsboard Server Commons ......................... SUCCESS [  0.124 s]
[INFO] Thingsboard Server Common Data ..................... SUCCESS [  5.314 s]
[INFO] Thingsboard Server Common Utils .................... SUCCESS [  0.399 s]
[INFO] Thingsboard Server Common Messages ................. SUCCESS [  3.841 s]
[INFO] Thingsboard Server Queue components ................ SUCCESS [ 11.224 s]
[INFO] Thingsboard Server Commons ......................... SUCCESS [  0.043 s]
[INFO] Thingsboard Server Common Transport components ..... SUCCESS [  1.801 s]
[INFO] Thingsboard MQTT Transport Common .................. SUCCESS [  1.787 s]
[INFO] Thingsboard HTTP Transport Common .................. SUCCESS [  0.904 s]
[INFO] Thingsboard CoAP Transport Common .................. SUCCESS [  1.161 s]
[INFO] Thingsboard Server Common DAO API .................. SUCCESS [  2.297 s]
[INFO] Thingsboard Extensions ............................. SUCCESS [  0.066 s]
[INFO] Thingsboard Rule Engine API ........................ SUCCESS [  1.298 s]
[INFO] Thingsboard Server DAO Layer ....................... SUCCESS [  8.999 s]
[INFO] Thingsboard Rule Engine Components ................. SUCCESS [  6.512 s]
[INFO] Thingsboard Server Transport Modules ............... SUCCESS [  0.046 s]
[INFO] Thingsboard HTTP Transport Service ................. FAILURE [  2.062 s]
[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:  53.943 s
[INFO] Finished at: 2020-06-02T10:24:13+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.thingsboard:gradle-maven-plugin:1.0.10:invoke (default) on project http: Execution default of goal org.thingsboard:gradle-maven-plugin:1.0.10:invoke failed: Plugin org.thingsboard:gradle-maven-plugin:1.0.10 or one of its dependencies could not be resolved: Fail
ure to find org.gradle:gradle-tooling-api:jar:6.3 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of aliyun_nexus has elapsed or updates are forced -> [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/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf org.thingsboard.transport:http

thingsboard

Thingsboard 3.0 版本,编译 HTTP Transport Service 需要使用官方 maven 镜像源,别使用淘宝或国内其他第三方。切换一下试试

这个问题解决了吗

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