Was getting some weird issue with a deployed webapp, it looked to me we had old version of classes even though I’m sure we’ve deployed the new library. This post below was useful for me to track down the duplicate classes.
http://blog.carlossanchez.eu/2011/03/23/finding-duplicate-classes-in-your-war-files-with-tattletale/