I think It's happen when 2 different jar file version of one class load in classloader and RMI cannot found the correct class.check your jars version in lib folder under server and client application.It's about your jars not security in RMI