File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!