A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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.
I agree. Here's the link:
subject: MappingException: Error reading resource: com/test/hiberna
unable to map the hbm files
In hibernate Follwowing error occured "Error reading resource: Department.hbm.xml"
Beginner in hibernate getting error : org.hibernate.MappingException: Unknown entity
Exception in thread "main" org.hibernate.MappingNotFoundException:
Problem of Unknown Entity
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014