Maven &引用;找不到工件org.openjfx“;在雷宁根项目中
我的Leiningin项目在Maven中找不到JavaFX。我做错了什么 以下是命令行输出(以及一些工具版本信息): 这是我的项目文件:Maven &引用;找不到工件org.openjfx“;在雷宁根项目中,maven,javafx,clojure,leiningen,Maven,Javafx,Clojure,Leiningen,我的Leiningin项目在Maven中找不到JavaFX。我做错了什么 以下是命令行输出(以及一些工具版本信息): 这是我的项目文件: (defproject pdb-java-client "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url
(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}})
即使这是一个Leiningen项目,Maven项目可能也会有同样的问题,因为Maven是在后台使用的,用于获取依赖项。我尝试了其他几个org.openjfx
工件,但都失败了。看看,没有发布“13.0.2”。但是,似乎存在“13.0.1”:
看
这在演示项目中起作用:
~/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
我不确定是否有资格:扩展名“pom”
。这是留给读者的练习
更新 找到一些讨论:
;; 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