Category Archives: MX.3

RMI local class incompatible

When loading external classes using RMI, it is key to compile against same jars as the ones used in target system. If not, RMi local class incompatible error can be thrown because class id between two jar compilations will be different. As such serialization and de serialization will not work properly, throwing this error. Re-mediation is to always fetch jars corresponding to the environment against which app is developed and place them in the classpath. sources