简体   繁体   English

Drombler FX示例应用程序无法运行

[英]Drombler FX Sample Application fails to run

I followed the getting startet instructions but cannot run it. 我按照入门指南进行操作,但无法运行。

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

Error: Could not find or load main class org.drombler.fx.startup.main.DromblerFXApplication 错误:找不到或加载主类org.drombler.fx.startup.main.DromblerFXApplication

Using the mvn exec:exec command yields the same. 使用mvn exec:exec命令产生相同的结果。

I had a similar error when I used an OpenJDK runtime which was the default on my path. 当我使用OpenJDK运行时时遇到了类似的错误,这是路径上的默认运行时。 Make sure to meet the requirements: 确保满足要求:

Java SE 8 with bundled JavaFX 8 Java SE 8与捆绑的JavaFX 8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM