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

顺利解决报错!

此处附上成功截图:

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

相关推荐
freejackman4 小时前
【工程化】从“单兵作战”到“多引擎架构”:基于门面模式的重构实战
大数据·数据库·hive·sql·测试工具·设计模式·架构
用户2991422196805 小时前
GitHub 热榜项目:日榜(2026-11-10)
人工智能·开源·github
miofly5 小时前
Meta发布小模型Muse Ember,智能体基准多项超GPT-6与Claude Haiku 5.5
开源·github
字节跳动数据平台5 小时前
火山引擎知识引擎VeKnow进化之路(上):从“人有数可用”到“AI有智可循”
大数据
wflynn6 小时前
GitHub 日榜趋势速报 | 2026-11-09
开源·github
Flynn Liang8 小时前
Apache Superset 重要特性详解(三):语义层 / 权限 / 缓存 / 嵌入的实战最佳实践(2026 版)
大数据·clickhouse·数据可视化·架构设计·superset·数据分析平台
miofly8 小时前
GitHub 日榜趋势速报 | 2026-11-10
开源·github
Yingyingyingyyy8 小时前
GitHub 开源热榜项目-周榜(2026-11-09)
开源·github
小田学Python19 小时前
工具调用:让 Agent 从“说”到“做”
大数据·大模型·agent·ai工具·deepseek
孟郎郎19 小时前
打造一切(Craft Anything)——克隆构造世间万物
人工智能·ai·github·软件构建·开源软件