META-INF/persistence.xml
musachy
On Jan 4, 2008 11:12 AM, Pascal SEREMES-DAMAL [EMAIL PROTECTED] wrote:
Hello everyone!!!
I hope you had fun during the end of year 2007 and I wish you a happy new
year.
I tried the Struts 2 + Spring 2 + JPA + AJAX tutorial that is on the
struts
Hello everyone!!!
I hope you had fun during the end of year 2007 and I wish you a happy new year.
I tried the Struts 2 + Spring 2 + JPA + AJAX tutorial that is on the
struts page and when I deployed it on my server I had the following
exceptions.
GRAVE: Context initialization failed
/persistence
musachy
On Jan 4, 2008 11:26 AM, Pascal SEREMES-DAMAL [EMAIL PROTECTED] wrote:
In fact in the tutorial
(http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html
) they say that there no need to specify the JPA configuration in this
file because the datasource
]:
well, somehow the file is not getting there at runtime I guess, this
is from your stacktrace:
java.lang.IllegalStateException: No persistence units parsed from
{classpath*:META-INF/persistence.xml}
musachy
On Jan 4, 2008 11:35 AM, Pascal SEREMES-DAMAL [EMAIL PROTECTED] wrote:
That's
Did some one else encountered the same problem as mine when following
the tutorial
http://struts.apache.org/2.0.11/docs/struts-2-spring-2-jpa-ajax.html
?
2008/1/4, Pascal SEREMES-DAMAL [EMAIL PROTECTED]:
Do you mean it can come from a bad classpath..? Or maybe should I
specify somewhere
that the persistence.xml file is not in your
classpath (or not in the right place). Make sure that the file is really
being deployed and that it is in the correct directory
(WEB-INF/classes/META-INF/persistence.xml).
L.
Pascal SEREMES-DAMAL wrote:
Do you mean it can come from a bad classpath
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
Hi everyone!!!
I'd like to know if it is possible to format a number into a currency with
the struts taglib.
Thanks.
Thanks to Martin for his answer.
I had the idea of JSTL too Alberto. Thank you very much.
2008/1/22, Alberto A. Flores [EMAIL PROTECTED]:
I'll recommend using using JSTL instead.
On Jan 21, 2008 8:11 PM, Pascal SEREMES-DAMAL [EMAIL PROTECTED]
wrote:
Hi everyone!!!
I'd like to know
: Pascal SEREMES-DAMAL [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 22, 2008 3:12 AM
To: Struts Users Mailing List
Subject: [Formatting data] - Format a number as currency
Hi everyone!!!
I'd like to know if it is possible to format a number into a currency
with
the struts taglib.
Thanks
10 matches
Mail list logo