I am using ControlsFX library for creating Notifications. When I launch project in IDE (NetBeans) everything is good, there is no exception. But when I launch project from jar java -jar <project>.jar
I have such exceptions like that.
Code:
Platform.runLater(new Runnable() {
@Override
public void run() {
Notifications.create()
.title("Lorem")
.text("Ipsum")
.hideAfter(javafx.util.Duration.seconds(5))
.show();
}
});
P.S. Project was build with dependencies, also I tried to clean&build
N.B. Also in project I have another dependencies but there are no problems with launching them from jar