struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shahab <>
Subject use with struts2 + spring + JPA
Date Mon, 29 Jan 2007 19:30:28 GMT


I am trying to use Struts 2, Spring and JPA. I have developed a simple
application like the one mentioned in 

I am getting the following error - 

SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoa
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'entityManagerFactory' defined in Ser
vletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init
method failed; nested exception is java.lang.Ille
galStateException: No persistence units parsed from
Caused by: java.lang.IllegalStateException: No persistence units parsed from

My applicationContext.xml and persistence.xml is similar to what is there in
the example. (persistence.xml has no persistence-unit defined)

Any help will be greatly appreaciated.

View this message in context:
Sent from the Struts - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message