Hint to the solution in the metaclass not found message

I lost some times on this error

java.lang.IllegalArgumentException: MetaClass not found for User
…

I used a class name instead of the entity name…

It would be great to have a hint to the solution in the message…