- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
java --version openjdk 13.0.2 2020-6ren">
我的 Leiningin 项目在 Maven 中找不到 JavaFX。我做错了什么?
这是命令行输出(以及一些工具版本信息):
> java --version
openjdk 13.0.2 2020-01-14
OpenJDK Runtime Environment (build 13.0.2+8)
OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)
> lein --version
Leiningen 2.9.1 on Java 13.0.2 OpenJDK 64-Bit Server VM
> lein clean
> lein run
Could not find artifact org.openjfx:javafx:jar:13.0.2 in central (https://repo1.maven.org/maven2/)
Could not find artifact org.openjfx:javafx:jar:13.0.2 in clojars (https://repo.clojars.org/)
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
(defproject pdb-java-client "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[clj-http "2.2.0"]
[cheshire "5.6.3"]
[local/tsp-dev "6.2.0"]
[org.clojure/core.match "0.3.0-alpha4"]
[org.reflections/reflections "0.9.10"]
[org.openjfx/javafx "13.0.2"]]
:main ^:skip-aot pdb-java-client.core
:source-paths ["src/clojure"]
:java-source-paths ["src/java"]
:target-path "target/%s"
:profiles {:uberjar {:aot :all}})
org.openjfx
Artifact ,它们都失败了。
最佳答案
看着 Maven Central ,没有版本“13.0.2”。但是,似乎存在“13.0.1”:
;; https://mvnrepository.com/artifact/org.openjfx/javafx
[org.openjfx/javafx "13.0.1" :extension "pom"]
~/expr/demo > lein deps
Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Retrieving org/openjfx/javafx/13.0.1/javafx-13.0.1.pom from central
:extension "pom"
.这留给读者作为练习。 ;)
关于maven - "Cannot find artifact org.openjfx"在 leiningen 项目中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59774326/
我的 JavaFX 程序准备并打印出一组 VBox。 这是 ModPrintCycle。这是提供打印选项的窗口 public PrintCycle data; //PrintCycle is
我正在使用 Linux 并尝试从 Oracle 的 JDK 切换到 OpenJDK 和 OpenJFX,但我在使用 JavaFX 应用程序时遇到了严重的问题。 以这个简单的程序为例: import j
我即将利用 Scala 和 JavaFX/OpenJFX 启动一个新的 GUI 项目。 上次我参与时,Java 8 是最先进的,JavaFX 与 JDK 和 JRE 集成,Scala 使用 JDK 8
我正在尝试安装最新版本的 BlueJ,它需要 JDK 11 和 OpenJFX。我现在已经从 Java 8 更新到 11,但我找不到实际安装 OpenJFX 的方法。我尝试检查 Open JFX 的版
我下载了存档 openjfx-11-ea+13_windows-x64_bin-sdk 和 OpenJDK。然后我创建一个 JavaFX 应用程序项目并在 Intellij IDEA (1.8.3)
我想使用特定版本的 openjfx,所以我使用命令下载它 sudo apt install openjfx=8u161-b12-1ubuntu2 但是 intellij idea 似乎找不到这个文件,
我正在尝试从 openjfx 源构建 JFX 场景生成器,但我找不到有效的操作方法或清晰的文档,我已经阅读了官方的 openjfx 说明,该说明不是针对场景生成器的,而是针对整个 sdk 的, 所以我
我安装了 OpenJDK 11 和 OpenJFX 11,并设法构建并运行了 JavaFX 应用程序。但是,我只能在命令行中添加 --module-path 和 --add-modules 参数后才能
我想知道openjfx是否合并到OpenJDK中,如果没有,我在哪里可以找到openjfx的ppa链接? 谢谢 最佳答案 OpenJFX 和 OpenJDK 是两个独立的项目,因此不会合并。 至于 P
我正在尝试在我的笔记本电脑上构建JavaFX sceneBuilder,我已经从 OpenJFx 项目下载了源代码并成功构建了 SDK,但是在场景构建器构建过程中我遇到了以下错误,我有点困惑,因为我完
我想为 Windows x86 arch 构建我的 JavaFX 应用程序。所以我下载了 Adopt OpenJdk 32-bit build 并用它来创建 Java Runtime Image。当我
我正在尝试在带有 openjdk 11 的 Netbeans 11 上使用 Maven 运行一个简单的 java fx 示例。我遵循了 OpenJfx tutorial直至将 JavaFx 创建为全局
我尝试在 official doc 之后创建一个 JavaFX maven 项目(使用 Maven 的 IntelliJ 章,非模块化项目)。我按照概述将 archtype artifact id 替
我尝试使用 OpenJFX 模块和 Maven 启动一个新项目。我关注的是:https://openjfx.io/openjfx-docs/ (转到 JavaFX with Maven -> Modu
我正在将我的项目转换为使用来自 Adoptopenjdk 的 openjdk 8...我知道 OpenJDK 不再携带 javafx。因此,我将 org.openjfx.javafx 设置为项目的依赖
我目前正在使用 OpenJDK 11 和 OpenJFX 构建应用程序。它编译得很好,可以启动,但是没有标题栏,如果我点击靠近应用程序的边缘,它会注册为点击它后面的任何窗口。 我正在使用 Intell
我正在阅读这个问题:Action Buttons css style in JavaFX ControlFX dialog , 以了解是否可以根据样式更改 JavaFX 警报对话框。 答案很好,但我想
SwingNode 在使用 Spring Boot、OpenJFX 和 Maven 的应用程序中导致链接错误 我通读了有关此问题的帖子,尝试按照他们的建议进行操作(请参阅下面的代码),但无法解决我的问
JavaFXpackager 似乎在 openjdk/openjfx 11 中不可用。 我想用它创建二进制 CSS (BSS)。 https://docs.oracle.com/javase/8/do
有谁知道是否有办法在 Eclipse 工作区中使用 JavaFX 模块?我有一个 OSGi-maven 多模块化应用程序。 到目前为止,我已经尝试了几件事。 下载 JavaFX SDK 并将 jar
我是一名优秀的程序员,十分优秀!