Lakshman-

Hey thanks for your help.  I was able to get it working by running a mvn
clean resources:resources generate-sources.

Thanks again!

Bryan

-----Original Message-----
From: Lakshman Srilakshmanan
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 22, 2006 5:34 PM
To: Maven Users List
Subject: RE: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file

Hi Bryan,

When you execute mvn clean resources:resources does your
hibernate.cfg.xml file get copied into target/classes ?

Thanks
Lakshman


> -----Original Message-----
> From: Bryan Woodcox [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 22 August 2006 2:10 PM
> To: [email protected]
> Subject: RE: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file
> 
> Lakshman,
> 
> 
> 
> Thanks for the response.  My Category.hbm.xml was not in the
> src/main/resources directory, but I have moved it there to now avail.
> 
> 
> 
> I am running mvn clean generate-sources to execute the build.
Attempting a
> mvn clean resources:resources hibernate3:hbm2java yields the same
> error/stack trace as I included in the original posting.
> 
> 
> 
> Any other suggestions?  This seems like a simple problem, but it has
cause
> great delay for me.  Very annoying!
> 
> 
> 
> Bryan



---------------------------------------------------------------------
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]

Reply via email to