Thingsboard编译 Failed to execute goal com.github.eirslett:frontend |
您所在的位置:网站首页 › maven编译插件报错 › Thingsboard编译 Failed to execute goal com.github.eirslett:frontend |
先放一波编译成功的图,久经波折啊 一定不要没编译就在IDEA打开项目,在cmd窗口编译完再打开。 先放一个maven仓库镜像,这一个就够了。 nexus-aliyun central Nexus aliyun https://maven.aliyun.com/repository/public在下面这个地方卡了最久 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:yarn (yarn pkg) on project web-ui: Failed to run task: 'yarn run pkg' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) 往上翻可以看到 Error: EBUSY: resource busy or locked, rename 'D:\thingsboard3.5\thingsboard\msa\web-ui\target\thingsboard-web-ui-win.exe' -> 'D:\thingsboard3.5\thingsboard\msa\web-ui\target\package\windows\bin\tb-web-ui.exe' 意思是系统繁忙,需要手动复制一个thingsboard-web-ui-win.exe文件到thingsboard\msa\web-ui\target\package\windows\bin\目录下,并重命名为tb-web-ui.exe 重命名后再次执行mvn clean install -DskipTests命令 另一个相似错误,是因为c盘用户下的.pkg-cache\v3.4文件夹下没有fetched-v16.15.0-linux-x64和fetched-v16.15.0-win-x64文件,可以在网盘链接中获取。 链接: https://pan.baidu.com/s/1CnqdDGWe3GWqkGHvcEl7Ng?pwd=wvks 提取码: wvks 复制这段内容后打开百度网盘手机App,操作更方便哦 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:yarn (yarn pkg) on project web-ui: Failed to run task: 'yarn run pkg' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) 如果不存在应该报这个 如果你也遇到gradle或者其他方面的问题可以私信我。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |