Java 8 will throw an ClassNotFoundException on private static inner classes like java.util.HashMap$Entry. Solution is to reference java.util.Map$Entry instead, which is public.