REST: no more java.lang.IncompatibleClassChangeError