BigData File Viewer报错

文章目录

背景回顾

博主在做项目是,需要查看parquet文件,考虑到没有现成的exe程序或在线解析网站,就找到了这个工具BigDataFileViewer
github仓库地址
gitee仓库地址

但是在按教程步骤进行是发生了报错。报错信息如下

python 复制代码
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ BigdataFileViewer ---
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ BigdataFileViewer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ BigdataFileViewer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 33 source files to D:\Program Files (x86)\BigDataFileViewer\bigdata-file-viewer\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------

原因解析

然而在仓库链接内pom.xml中依赖项中包含两个版本的JavaFx依赖

xml 复制代码
        <dependency>
          <groupId>org.openjfx</groupId>
          <artifactId>javafx-controls</artifactId>
          <version>11.0.2</version>
        </dependency>
        <dependency>
          <groupId>org.openjfx</groupId>
          <artifactId>javafx-media</artifactId>
          <version>17.0.10</version>
        </dependency>
        <dependency>
          <groupId>org.openjfx</groupId>
          <artifactId>javafx-graphics</artifactId>
          <version>11</version>
        </dependency>

因此需要在mvn构建时指定系统java版本号

解决方法

在命令行窗口执行

bash 复制代码
C:\Users\Administrator>javac -version
javac 17.0.12

查看java版本,根据自己的版本选择新的mvn构建方式

此处博主的java版本为17.0.12,因此执行指令

bash 复制代码
mvn clean install -Pjava17

顺利解决报错!

此处附上成功截图:

希望大家通过教程顺利解决自己的问题!

相关推荐
逛逛GitHub2 小时前
清华团队开源!1 键生成多 Agent 智能体 AI 课堂。
github
geneculture2 小时前
从“三亲三同”到“信智序位”:数字时代社会关系范式的重构
大数据·人工智能·融智学的重要应用·哲学与科学统一性·融智时代(杂志)
zylyyyyyy2 小时前
虚拟机X OpenClaw——一键“幻”养“龙虾”
大数据·人工智能·云计算
研究点啥好呢2 小时前
3月15日GitHub热门项目推荐 | 当AI拥有记忆
人工智能·python·github·openclaw
Smoothcloud润云3 小时前
Seedance 2.0深度解析:从“抽卡地狱”到工业化视频创作的革命
大数据·人工智能·计算机视觉·语言模型·ai作画·音视频·语音识别
sunxunyong4 小时前
spark History Server 重启失败
大数据·分布式·spark
孟健4 小时前
AI Agent 已经开始攻击 GitHub Actions:我整理了 7 条最该先做的加固清单
安全·github·agent
CoovallyAIHub5 小时前
开源一周 6300+ Star!Andrew Ng 发布 Context Hub,专治 AI Agent 调用过时 API
人工智能·架构·github
答案answer5 小时前
我的Three.js3D场景编辑器免费开源啦🎉🎉🎉
前端·github·three.js
lpfasd1235 小时前
2026年第11周GitHub趋势周报:AI智能体爆发,RAG与本地部署成新焦点
人工智能·github