Your newly packaged library is not backward binary compatible the with the old version. For this reason, some of the library clients that are not recompiled may throw the exception. Pretty much you have made some incompatible binary changes to the library without recompiling the client code. This can mean making changes such as changing non-static non-private fields/methods to be static or vice versa.