I did some classes refactoring and now I get a duplicate annotated class error, I guess I need to manually deleted it , but where is that file with the classes list, the hibernate equivalent to hibernate.cfg.xml ? Thank in advance
If you're using JPA, it's usually annotation-based metadata. There is an orm.xml if you really want to use XML.