grrr... cost me an hour staring at this before i realised that the method was the constructor...i was doing something like this:
and kept getting NoSuchMethodError at runtime. was looking at all sorts of reasons in method calls. but the problem was occuring because i had not declared a no-args constructor!! the "method" that was not there was the constructor ().
a painful lesson
peter