I have a problem, hHibernate sometimes works and sometimes it doesn't, I've set it up well 2 times and I don't get it anymore. I use the same code as in the exercises that does work. I leave my code of each class to see if you see the error. It tells me that the classes are not mapped but they are.
this is de error, org.hibernate.hql.internal.ast.QuerySyntaxException: Pais is not mapped [from Pais]