When I am running a Hadoop .jar file from the command prompt, it throws an exception saying no such method StockKey method.
StockKey is my custom class defined for m
Was facing this same issue. Fixed by following pointers from @Thomas and @Chris.
Looks like both these solutions are needed to solve the problem :
Answer from @Thomas is required as Hadoop is using reflection and when building large projects.
Answer from @Chris is required when using inner classes and invoking Mappers/Reducers from main().