The error message means that in your code you are calling annotatedScope() passing it a HashMap, but there is no annotatedScope() method that accepts a hashmap. (The error indicates that annotatedScope() is being called on 'griffin', I am not sure if that is an object or a class since you didn't post any code.)