A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Object Relational Mapping
MappingException: Error reading resource: com/test/hiberna
Joined: Dec 27, 2001
Jul 22, 2005 12:18:00
Hi, I am using Hibernate with WSAD5.1 and trying to run a
class and geeting follwing exception.
net.sf.hibernate.MappingException: Error reading resource: com/test/hibernate/Data.hbm.xml
I have hibernate.cfg.xml in WEB-INF. Any clue please ?
Joined: Nov 03, 2001
Jul 23, 2005 20:05:00
If your hibernate.cfg.xml not recognized then you might have got exception for creating sessionFactory. Your first exception comes at that time.
Have you checked out
subject: MappingException: Error reading resource: com/test/hiberna
Problem of Unknown Entity
Beginner in hibernate getting error : org.hibernate.MappingException: Unknown entity
In hibernate Follwowing error occured "Error reading resource: Department.hbm.xml"
Exception in thread "main" org.hibernate.MappingNotFoundException:
unable to map the hbm files
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015