I am using dialogs in my javaFX application in order to show background processes in running.However when i am opening same source code in eclipse on other computers it throws errors.here is code for dialog which one i am using
Dialogs.create().owner(null).title("Kalculate - New Company")
.masthead(data + companyName).message("In progress")
.showWorkerProgress(companyService);
and here is corresponding errors
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.controlsfx.dialog.HeavyweightDialog at org.controlsfx.dialog.Dialog.(Dialog.java:340) at org.controlsfx.dialog.Dialogs.buildDialog(Dialogs.java:1009) at org.controlsfx.dialog.Dialogs.showWorkerProgress(Dialogs.java:885) at com.openlx.kalculate.controllers.masters.NewCompany.saveButtonOnAction(NewCompany.java:864)