Re: how to use struts2 + spring + JPA

2007-01-30 Thread shahab
Hi: Thanx so much for your help. WebApp Context got loaded now. I greatly appreaciate your help. thanx Shahab Musachy Barroso-2 wrote: > > Good catch, I got confused between WEB-INF and META-INF :) > > musachy > > cilquirm wrote: >> your persistence.xml must be in META-INF directory in the

Re: how to use struts2 + spring + JPA

2007-01-29 Thread Musachy Barroso
Good catch, I got confused between WEB-INF and META-INF :) musachy cilquirm wrote: your persistence.xml must be in META-INF directory in the classpath ( so basically, it needs to end up either in your jars in WEB-INF/lib or in your WEB-INF/classes directory ) shahab wrote: Hi: I have p

Re: how to use struts2 + spring + JPA

2007-01-29 Thread cilquirm
your persistence.xml must be in META-INF directory in the classpath ( so basically, it needs to end up either in your jars in WEB-INF/lib or in your WEB-INF/classes directory ) shahab wrote: > > Hi: > > I have persistence.xml under META-INF > > (both WEB-INF and META-INF are under tomcat_ho

Re: how to use struts2 + spring + JPA

2007-01-29 Thread shahab
Hi: I have persistence.xml under META-INF (both WEB-INF and META-INF are under tomcat_home/webapps/ level In fact, w/o this file, i get the same error also. How do I know if this file is being picked up or not. thanx Shahab Musachy Barroso-2 wrote: > > Is "persistence.xml" under WEB-INF? I

Re: how to use struts2 + spring + JPA

2007-01-29 Thread Musachy Barroso
Is "persistence.xml" under WEB-INF? I was getting the same error when I tried to avoid using the dummy persistence.xml (there is got to be a way of configuring the persistent unit from Spring, but I didn't look into it). musachy shahab wrote: Hi: I am trying to use Struts 2, Spring and JPA.