Quoting: "1. Create a folder named "META-INF" under the "src" folder. 2. Create a file named "persistence.xml" under the "META-INF" folder and set its content to..."
Content within src should be compiled into WEB-INF/classes. Doing the maven way, this file should be in src/main/resources Alvaro. On Jan 5, 2008 4:03 AM, Pascal SEREMES-DAMAL <[EMAIL PROTECTED]> wrote: > All the code is there : > http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html > > But I had a problem to deploy the application on my tomcat server. > > Musachy and Laurie suggested to move the file persistence.xml from > /META-INF (where indicated in the tutorial) to > /WEB-INF/classes/META-INF. > > Enjoy. > > > Pascal > > > 2008/1/4, Frans Thamura <[EMAIL PROTECTED]>: > > can we have the code also? > > > > F > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Alvaro Sanchez-Mariscal Arnaiz Java EE Architect & Instructor [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]