2016-06-25 29 views
-1

我跟着getting startet instructions但無法運行它。Drombler FX示例應用程序無法運行

java -Djavafx.verbose=true -Dbinary.css=false -Djava.util.logging.config.file=target/deployment/standalone/conf/logging.properties -jar target/deployment/standalone/bin/foo.jar --userdir target/userdir 

錯誤:exec命令得到相同的:org.drombler.fx.startup.main.DromblerFXApplication

使用MVN EXEC無法找到或加載主類。

回答

2

當我使用OpenJDK運行時(這是我的路徑上的默認運行時)時,發生了類似的錯誤。確保符合要求:

Java SE 8 with bundled JavaFX 8

+0

呃,誤解錯誤信息。該類已找到但未加載。我檢查了路徑並修復了它。謝謝! –