应用程序启动方法中的异常-无堆栈跟踪

时间:2019-06-24 09:47:02

标签: java javafx fxml

我在日志中打印了Exception in Application start method,没有堆栈跟踪。我已将其范围缩小到加载FXML的行,但我已验证该位置正确,并且该应用昨天运行良好。这是一行:

FXMLLoader loader = new FXMLLoader(getClass().getClassLoader().getResource("views/loading.fxml"), languageBundle);

我在日志中拥有的所有内容

> Task :jfxRun
Running JavaFX Application
Running command: java -jar project-jfx.jar
11:41:41.227 [JavaFX Application Thread] INFO me.glorantq.library.LibraryApplication - Initialising!
11:41:41.246 [JavaFX Application Thread] INFO me.glorantq.library.LibraryApplication - Loaded language from config! (GERMAN)
Jun 24, 2019 11:41:41 AM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 11.0.1 by JavaFX runtime of version 8.0.151
Exception in Application start method

BUILD SUCCESSFUL in 11s
5 actionable tasks: 4 executed, 1 up-to-date

0 个答案:

没有答案