I am new to Hibernate. I am implementing Hibernate using JPA. Since i am using JPA there is no .cfg.xml or .hbm.xml file in my configuration(those files were present before but i deleted them). Even though there is no mapping file my classes i am getting exception for one of my login.OwnerLogin class org.hibernate.DuplicateMappingException: Duplicate class/entity mapping login.OwnerLogin. Even in my persistence .xml there is no mapping. Can anyone please tell me the cause of the following exception
As you said my application is referencing unknown files, you are correct. Before posting i removed all the traces for the hbm and cfg files. I even cleared the cache from eclipse in case if its referencing from there and also i disabled caching but still had the problem. I even deleted the WAR file and deployed new one. But what i didn't do is clearing it from the webapps directory from where it is being referenced.
You are absolutely correct. I had those files present in my webapps directory. Thank you for pointing in the right direction. You were of great help.