Hi John ,
Thanks for your reply
I am sorry for being late.
First i forgot to mention that i am using
eclipse IDE.
i was using org.hibernate.cfg.Configuration in my code which caused this problem.
But i have another problem now.
i started getting error : hibernate.cfg.xml not found
hibernate.cfg.xml is in scr folder and my mapping files are in src\comm folder just beside the persistence classes.
i tried this to work around :
but i am getting this error
any help is appreciated
i have been stuck in this problem for many days