Joined: Fri Jun 25, 2010 6:49 am Posts: 2
|
Hi All,
I am facing below problem
INFO org.hibernate.cfg.HbmBinder - Mapping class: com.swide.databean.beans.Address -> address Exception in thread "main" java.lang.NullPointerException at com.swide.gui.reservation.model.ReservationModel.<init>(ReservationModel.java:19) at com.swide.gui.reservation.ReservationApplication.<init>(ReservationApplication.java:14) at com.swide.gui.reservation.ReservationApplication.main(ReservationApplication.java:20) SessionFactory creation failed: org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/swide/databean/datamapping/Address.hbm.xml
I already checked the Adress.hbm.xml file and pojo class. They are fine.
Kindly let me know the reason.
|
|