-->
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.  [ 2 posts ] 
Author Message
 Post subject: Using netBeans IDE 4.1 - Couldnt read mappings from resource
PostPosted: Tue Dec 13, 2005 12:12 am 
Newbie

Joined: Tue Dec 13, 2005 12:02 am
Posts: 2
Salutations!

I am new to Hibernate3.1rc3 and trying it out for the first time. Developing with netBeans IDE 4.1 and I have added the necessary JAR files to my project (had a problem compiling when it could not find the Hibernate classes).

As in an earlier posting, runtime error : Could not locate hibernate.cfg.xml

As suggested I moved the file to the project classes directory.

Then, I tried again and I get the following:

Initial SessionFactory creation failed : org.hibernate.MappingException: Could not read mappings from resource: waypoints.hbm.xml
Exception in thread "main" java.lang.ExceptionInInitializerError

Thanks for any advice in advance.

dsho


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 12:24 am 
Newbie

Joined: Tue Dec 13, 2005 12:02 am
Posts: 2
Salutations!

I cannot delete my initial post. Cannot find the edit/delete option on my post.

After reading through some other posts, I managed to narrow down the problem to another error instead.

Apologies for the double post.

dsho


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.