Re: org.hibernate.HibernateException: /hibernate.cfg.xml not found

2012-09-12 Thread Akram_TN

Thanks for the post, helped me :)



On Monday, April 7, 2008 2:36:39 PM UTC+2, Cosmin Nicula wrote:
>
> I've founded. The root directory is the "src" folder. There should be 
> created the "hibernate.cfg.xml" file. 
>
> Sorry for bothering you :-) 
>
> On Apr 7, 3:17 pm, Cosmin Nicula  wrote: 
> > Hello, 
> > 
> > Does anybody knows where to create ( in wich directory to put in ) the 
> > hibernate.cfg.xml file so that the exception 
> > "org.hibernate.HibernateException: /hibernate.cfg.xml not found" to be 
> > resolved ? 
> > 
> > I have tried to put it in the "src" subfolder, near the 
> > .gwt.xml file and also in the  root directory, near 
> > the ".classpath", ".classpath" etc. files but the same exception 
> > appears. Also i have tried to put it in the "public" directory, but 
> > still not working. 
> > 
> > The exception appears when I try to create an instance of 
> > SessionFactory object ( SessionFactory  sf = new 
> > Configuration().configure().buildSessionFactory(); ). 
> > 
> > Secoundly I whould like to ask you where is exactly the root folder 
> > ( "/" ) of the project, because I'm a little confused. 
> > 
> > Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/igDnEZLlgV4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



org.hibernate.HibernateException: /hibernate.cfg.xml not found

2010-05-21 Thread Tiny
Comment for newbies only on this (Fra: Cosmin Nicula

Dato: Mon, 7 Apr 2008 05:36:39 -0700 (PDT)
Lokalt: Ma. 7 Apr. 2008 14:36
Emne: Re: org.hibernate.HibernateException: /hibernate.cfg.xml not
found

Sorry for bothering you :-))

So you did not bother me! Thanks Cosmin. After reading your two
contribs on this group I also got my things working. Cause I then
realized I could not paste anyting into src folder if inside Project
Explorer (in Eclipse).

/ T

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.