I have implemented successfully the reflectionEquals method, with a list of excluded fields.
return EqualsBuilder.reflectionEquals(this, obj, new String[] {"files", "notes", "status"});
However, I recently compiled my program on Java 1.5 and now I get the following error when the program hits the above line:
java.lang.NoSuchMethodError: org.apache.commons.lang.builder.EqualsBuilder.= reflectionEquals(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/String;)Z
If anyone has an insight on why the method does not exist at runtime, I would appreciate it