Are your classes in different namespaces that it shouldn't be in?
I had this error and when I made the name space consistent as I was copying things from other services, it stopped throwing that error.