This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes struts-2-spring-2-jpa-ajax.html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-2-spring-2-jpa-ajax.html" Watch "struts-2-spring-2-jpa-ajax.html" New topic


sarada srinivas

Joined: Oct 09, 2008
Posts: 20
Hi All,

I am trying to run the example of
But I am getting the below error .springframework.beans.factory.BeanCreationException: Error creating bean with name 'personService'

I have reffered few of the website and got inputs like
1) spring1.x must not be used
2) META-INF/persistence.xml is in the classpath
but nothing helps me to progress further.

I am trying to use 1)Struts2.0 2)Spring 2.0.8 3)Hibernate3 4) Tomcat6
Thanks in advance.
sarada srinivas

Joined: Oct 09, 2008
Posts: 20
The problem was resolved please add the below jar



I agree. Here's the link:
subject: struts-2-spring-2-jpa-ajax.html
Similar Threads
How to programatically configure hibernate from struts 2?
Integrating Struts 2 with Hibernate.
Integrating Struts2 with Hibernate
how to maintain state
Struts2 with Spring