Hi all!
I try to develop a T5 / jpa application!
All junits tests on my DAOS work but when I try to deploy on tomcat I
still have a No Persistence provider for EntityManager name ... error
when I call DAOs.
My persistence.xml seams to be at good place...
So my question is : Is it possible
Em Fri, 14 Aug 2009 09:42:34 -0300, bdumeny bdum...@cvf.fr escreveu:
Hi all!
Hi!
I try to develop a T5 / jpa application!
All junits tests on my DAOS work but when I try to deploy on tomcat I
still have a No Persistence provider for EntityManager name ... error
when I call DAOs.
My
Thiago H. de Paula Figueiredo a écrit :
Em Fri, 14 Aug 2009 09:42:34 -0300, bdumeny bdum...@cvf.fr escreveu:
Hi all!
Hi!
I try to develop a T5 / jpa application!
All junits tests on my DAOS work but when I try to deploy on tomcat I
still have a No Persistence provider for EntityManager
Doesn't Tomcat - it being just a servlet and JSP engine and not a
full blown JEE specification implementation - not have any actual JPA
implementation? Are you including one in your WAR file, e.g.
Hibernate?
2009/8/14 bdumeny bdum...@cvf.fr:
Thiago H. de Paula Figueiredo a écrit :
Em Fri, 14
Yes, all included in my pom.xml.
If I haven't dependencies my tests wouldn't work during a mvn install...
Scot Mcphee a écrit :
Doesn't Tomcat - it being just a servlet and JSP engine and not a
full blown JEE specification implementation - not have any actual JPA
implementation? Are you
2009/8/15 bdumeny bdum...@cvf.fr:
Yes, all included in my pom.xml.
If I haven't dependencies my tests wouldn't work during a mvn install...
well not strictly true seeing as you could could have it in a test
scope (e.g. something I often do with the HSQL classes). sorry i had
to ask the obvious
There is no specified scope for jpa dependencies...
If only someone tells me that it's possible...
I haven't found any example of use t5/jpa
Message :
org.apache.tapestry5.runtime.ComponentEventException
No Persistence provider for EntityManager named MY_APP
Stack trace
*
2009/8/15 bdumeny bdum...@cvf.fr:
There is no specified scope for jpa dependencies...
And the hibernate.jar is definitely in the generated WAR file?
Otherwise try scope 'compile'. Obviously the javax.persistence jar is.
If only someone tells me that it's possible...
I haven't found any