-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Mapping exception
PostPosted: Thu Aug 25, 2005 7:15 am 
Newbie

Joined: Thu Aug 25, 2005 7:06 am
Posts: 2
I try to run my code and i get mapping exception with unknown source message. Does this mean that it cant read my Inspection.hbm.xml file?Or is there an error int it?

I checked it 100 times but i cant see any errors.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 25, 2005 7:20 am 
Newbie

Joined: Thu Aug 25, 2005 7:06 am
Posts: 2
In more detail

java.lang.RuntimeException: org.hibernate.MappingException: Error reading resource: model/Inspection.hbm.xml
model.ConnectionFactory.<init>(Unknown Source)
model.ConnectionFactory.getInstance(Unknown Source)
model.FormStore.save(Unknown Source)
actions.InspectionAction.execute(Unknown Source)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 25, 2005 9:00 am 
Newbie

Joined: Fri Jul 30, 2004 9:02 am
Posts: 9
Location: Ukraine
it can be some reasons for such problem
1. If all other files are readble, may be problem in file name
2. If this is only one file - chek path for hbms again
3. Or after you made some changes - make clean your target folder(delete it) and rebuld jar


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.