wood burning stoves 2.0*
The moose likes Spring and the fly likes Cannot configure declarative transaction with hibernate and spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Cannot configure declarative transaction with hibernate and spring" Watch "Cannot configure declarative transaction with hibernate and spring" New topic
Author

Cannot configure declarative transaction with hibernate and spring

Debasish Ray Chawdhuri
Greenhorn

Joined: Feb 05, 2007
Posts: 24
The following exception is coming while I try




The following is my spring-beans.xml [ springs configuration]



Please help!


SCJP 1.5, SCWCD 1.4, SCBCD 5.0 It's the attitude, and not the aptitude, that determine one's altitude in life.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '(inner bean)' is defined"

You are referencing a bean names "(inner bean)" And there is no such bean with that name. I didn't see it in your xml, but what about in your properties file? classpath:com/spring/demo/app.properties

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Lalit Bhatt
Ranch Hand

Joined: Dec 27, 2007
Posts: 69

You can also look into the annotation way of handling the transactions. It's better than writing aspects to handle transactions in XML


Java-JavaEE Hibernate Spring Software Development Business Process Analysis
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot configure declarative transaction with hibernate and spring