Hi
I have created whole project exactly like it was described in the tutorial. I created porper configuration file hibernate.cfg.xml and hibernate.reveng.xml. I created hibernate console configuration and I was able to generate Days.java and Days.hbm.xml files which are correct. In the hibernate.cfg.xml file appeared new line:
Code:
<mapping resource="pcg/Days.hbm.xml" />
where pcg is Days class package.
The problem is when I refreshed the hibernate configuration view I got error:
Code:
Error while fetching children
Reason: org.hibernate.MappingException: Resource: pcg/Days.hbm.xml not found.
I don't understand, in my project I have JavaSource directory where I keep hibernate.cfg.xml file. In this directory there is pcg folder in which there are the fallowing files:
Days.java
Days.hbm.xml
so the path in resource element: pcg/Days.hbm.xml is absolutely correct. What is wrong here?
Regards,
Ania
[/code]