java - NoClassDefFoundError on JXDatePicker -


on netbeans, fine, when build project, , execute .jar dist folder, fine. when move .jar , execute; cmd gives me

enter image description here

it points on declaration of jxdatepicker have .jar containing jxdatepicker on library project

enter image description here

please; , thanks

as found out, can happen due problem in runtime. project run fine in compile time error occures in runtime.as said first build , run , worked fine.after moved .jar file , run again.this time jar @ different directory , jvm still looks previous location .if want can reset calsspath this.
for more reference

set classpath=axis.jar;%classpath%; 

hope help!


Comments