Your first error means you have not mapped the class RankProfile.
Your second error means exactly what it says: you have mapped the collection rankProfiles more than once.
Given the configuration files you've posted look OK, I'd check what is actually deployed in your application because it looks like that's not what you think it is.