Not s/m/j/resources, simply src/main/resources. Try that and see if it works.
And if this is simply for testing, put your file in src/test/resources. Wayne On 8/16/07, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Ahhh.... I'm tearing hair out. I've set up maven, mysql, c3p0 and hibernate. > Actually I want to use spring but I don't know how. Anyway when I test the > application the testcase can't find hibernate.cfg.xml? > > I've read that all files,images should be in the src/main/java/resources. > But for me to get it to work I have to put the hibernate.cfg.xml in > src/main/java. > > Can anyone help me with this? > -- > View this message in context: > http://www.nabble.com/Hibernate-and-resources-tf4280221s177.html#a12183032 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]