This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Spring AOP TX management error... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring AOP TX management error..." Watch "Spring AOP TX management error..." New topic

Spring AOP TX management error...

Sri Vinay Pammi

Joined: Feb 23, 2007
Posts: 1
I am using spring(v 2.0) aop on java 1.4 version. When I write the config.xml for aspect oriented tx management I get the following error in the java program...

Line 9 in XML document from class path resource [config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.

The xml file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

<!-- this is the service object that we want to make transactional -->
<bean id="serviceBean" class="BusinessBean"/>

Please do the needful as I am stuck at this point...
I agree. Here's the link:
subject: Spring AOP TX management error...
It's not a secret anymore!