当前位置: 首页 > news >正文

thingsboard3.9.1编译问题处理

问题1:

[ERROR] Failed to execute goal org.thingsboard:gradle-maven-plugin:1.0.12:invoke (default) on project http: Execution default of goal org.thingsboard:gradle-maven-plugin:1.0.12:invoke failed: Plugin org.thingsboard:gradle-maven-plugin:1.0.12 or one of its dependencies could not be resolved: org.gradle:gradle-tooling-api:jar:7.3.3 was not found in https://hztest.archermind.com/nexus/repository/maven-public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of archermindRepo has elapsed or updates are forced -> [Help 1]

处理方法:到网站 https://mvnrepository.com/repos 手工下载包,然后拷贝到本地maven仓库。


问题2:

[ERROR] Failed to execute goal org.thingsboard:gradle-maven-plugin:1.0.12:invoke (default) on project http: org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-7.3.3-bin.zip'. -> [Help 1]

处理方法:手工下载gradle-7.3.3-bin.zip,然后再编译时拷贝到 C:\Users\{系统用户}\.gradle\wrapper\dists\gradle-7.3.3-bin\{随机值}  目录。格式如 C:\Users\Administrator\.gradle\wrapper\dists\gradle-7.3.3-bin\6a41zxkdtcxs8rphpq6y0069z 。

问题3:

[ERROR] Failed to execute goal io.github.git-commit-id:git-commit-id-maven-plugin:5.0.0:revision (get-the-git-infos) on project application: .git directory is not found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1]

处理方法:在pom.xml中,注释插件
            <!-- <plugin>
                <groupId>io.github.git-commit-id</groupId>
                <artifactId>git-commit-id-maven-plugin</artifactId>
            </plugin> -->
            
            
问题4:--- frontend-maven-plugin:1.12.0:yarn (yarn pkg) @ web-ui ---
[INFO] Running 'yarn run pkg' in D:\sources\thingsboard-3.9.1\msa\web-ui
[INFO] yarn run v1.22.22
[INFO] $ tsc && pkg -t node18-linux-x64,node18-win-x64 --out-path ./target ./target/src && node install.js
[INFO] > pkg@5.8.1
[INFO] > Fetching base Node.js binaries to PKG_CACHE_PATH

处理方法:在https://github.com/vercel/pkg-fetch/releases页面下载对应的文件,然后改名放置到C:\Users\Administrator\.pkg-cache\v3.4目录中。


问题5:
 
 
[INFO] X [ERROR] EMFILE: too many open files, open 'D:\sources\thingsboard-3.9.1\ui-ngx\node_modules\@mui\icons-material\esm\VideocamOffRounded.js' [plugin angular-compiler]
[INFO] 
[INFO]     node_modules/@angular/build/src/tools/esbuild/javascript-transformer.js:65:21:
[INFO]       65 │         const data = await (0, promises_1.readFile)(filename);
[INFO]          ╵                      ^
[INFO] 
[INFO]     at async open (node:internal/fs/promises:639:25)
[INFO]     at async readFile (node:internal/fs/promises:1242:14)
[INFO]     at async JavaScriptTransformer.transformFile (D:\sources\thingsboard-3.9.1\ui-ngx\node_modules\@angular\build\src\tools\esbuild\javascript-transformer.js:65:22)
[INFO]     at async D:\sources\thingsboard-3.9.1\ui-ngx\node_modules\@angular\build\src\tools\esbuild\angular\compiler-plugin.js:345:38
[INFO]     at async D:\sources\thingsboard-3.9.1\ui-ngx\node_modules\@angular\build\src\tools\esbuild\load-result-cache.js:21:22
[INFO]     at async requestCallbacks.on-load (D:\sources\thingsboard-3.9.1\ui-ngx\node_modules\esbuild\lib\main.js:1275:22)
[INFO]     at async handleRequest (D:\sources\thingsboard-3.9.1\ui-ngx\node_modules\esbuild\lib\main.js:647:11)
[INFO] 
[INFO]   The plugin "angular-compiler" was triggered by this import
[INFO] 
[INFO]     node_modules/@mui/icons-material/esm/index.js:10053:46:
[INFO]       10053 │ ... { default as VideocamOffRounded } from './VideocamOffRounded';
[INFO]             ╵                                            ~~~~~~~~~~~~~~~~~~~~~~
[INFO] 
[INFO] 
[INFO] X [ERROR] EMFILE: too many open files, open 'D:\sources\thingsboard-3.9.1\ui-ngx\node_modules\@mui\icons-material\esm\ViewAgendaOutlined.js' [plugin angular-compiler]
[INFO] 


处理方法:关掉IDEA,多试几次即可。
 

相关文章:

  • 【算法】 欧拉函数与欧拉降幂 python
  • 从零开始开发纯血鸿蒙应用之语音输入
  • Transformer模型设置评价模式:Dropout 停止随机丢弃神经元,从而保证每次输入得到的输出是确定的
  • AI代理是大模型实现可扩展智能自动化的关键
  • Flutter:图片在弹窗外部的UI布局
  • Java学习手册:Java集合框架详解
  • 基于 Maven 构建的 Thingsboard 3.8.1 项目结构
  • 【漫话机器学习系列】197.外核(Out of Core)
  • 【笔记ing】AI大模型-02开发环境搭建
  • matplotlib数据展示
  • spring cloud微服务断路器详解及主流断路器框架对比
  • 论文精度:YOLOMG:基于视觉的无人机间检测算法——外观与像素级运动融合详解
  • 215. 数组中的第K个最大元素
  • ChatRex: Taming Multimodal LLM for Joint Perception and Understanding 论文理解和翻译
  • 智能车摄像头开源—9 动态权、模糊PID、速度决策、路径优化
  • 优先级队列(1)——处理数据流的中位数
  • Introducing Machine Learning with SAP Leonardo
  • StringBuffer类基本使用
  • MySQL 中查询 VARCHAR 类型 JSON 数据的
  • Mysql 分库分表
  • 营销咨询报告/惠州seo推广外包
  • 阿里云网站空间主机/域名解析ip地址查询
  • 如何用2级域名做网站/北京百度搜索优化
  • 网站关键词布局实操/网站维护费用一般多少钱
  • 营口东站营销网站建设/广告模板
  • 做渔具网站/爱站工具包的模块有哪些