-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate Errors
PostPosted: Tue Jun 09, 2009 4:53 am 
Newbie

Joined: Tue Jun 09, 2009 4:47 am
Posts: 2
I am developing web applications using netbeans 6.0 and encounterd this error

init:
deps-jar:
compile-single:
run-single:
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
/hibernate.cfg.xml not found
BUILD SUCCESSFUL (total time: 0 seconds)


my hibernate.cfg.xml file is in the same folder as my hbm and class files,together with log4j.properties file

Can someone please help me resolve this problem


Top
 Profile  
 
 Post subject: Re: Hibernate Errors
PostPosted: Tue Jun 09, 2009 5:24 am 
Newbie

Joined: Tue Jun 09, 2009 1:34 am
Posts: 6
Location: india
hibernate.cfg.xml should be setted as a user library of ur project

_________________
Ram


Top
 Profile  
 
 Post subject: Re: Hibernate Errors
PostPosted: Tue Jun 09, 2009 5:49 am 
Newbie

Joined: Tue Jun 09, 2009 4:47 am
Posts: 2
What exactly do you mean by that


Top
 Profile  
 
 Post subject: Re: Hibernate Errors
PostPosted: Tue Jun 09, 2009 6:06 am 
Newbie

Joined: Tue Jun 09, 2009 1:34 am
Posts: 6
Location: india
in your project u have to set the folder where ur hibernate.hbm.xml file is present as library by using properties of the project

_________________
Ram


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.