然而,当我试图在Linux上编译它时,我得到了以下错误: The following artifacts could not be resolved: org.openjfx:javafx-controlsjavafx-controls:jar:${javafx.platform}:12 in central (https://repo.maven.apache.org/maven2) 显然,它不能确定它是在linux然而,这样做的效果是,其他操作系统试图下载linux版本,并且无法再运行该软件(这是意料之中的