NoClassDefFoundError occurs when class was present during compile time and program was compiled and linked successfully but class was not present during runtime. It is error which is derived from LinkageError.06-Feb-2019
Just clear and build again your project and it will work.
java --module-path $FX-PATH --add-modules javafx.controls -jar sample.jar