alecgorge/jsonapi — Issue #121: Reflection used is incompatible with Spout.
Author: Psithief
Created: 2012-01-30 00:50:25+00:00
State: open

Java's getDeclaredMethod only works on declared methods. Spout replaces CraftPlayer with a subclass called SpoutCraftPlayer. As it is a subclass then all the CraftPlayer methods are inherited, not declared. This causes getDeclaredMethod to fail.

Solution:
Don't use getDeclaredMethod.