Hi,
I am using Eclipse v3.1.0 and have installed the Hibernate Tools plugin Version: 3.0 alpha 4, 8. June 2005.
I followed the steps as explained in
http://www.hibernate.org/hib_docs/tools/eclipse/index.html and the Flash demo from
http://www.hibernate.org/255.html.
I was able to use the Hibernate wizard Hibernate Artifact Generation to generate the Hibernate mapping files as well as the domain POJOs. But when I open the Hibernate Console in Eclipse and right click the configuration to Create SessionFactory, I get the error message:
Problem while executing Create SessionFactory (org.hibernate.MappingException: Resource: mypackage/MyMapping.hbm.xml not found)
The resource mypackage/MyMapping.hbm.xml does exist after the artifact generation but apparently the Hibernate Console configuration does not seem to find it.
My files are in these locations:
myeclipseproj/src/hibernate.cfg.xml
myeclipseproj/src/mypackage/MyMapping.java
myeclipseproj/src/mypackage/MyMapping.hbm.xml
Can someone please help.
Thanks,
Murtaza