Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Problems with simple Java-AOP-Programm via Spring-Framework  RSS feed

Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi community!

I have a problem with my simple Java-Programm.

Here are my classes and the xml-file:

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

<aop:aspect ref="myAspectBean">
       <aop:pointcut id="myPointCut"
            expression="execution(public void aopDemo.HalloObject.sayHelloWorld())" />
<aop:after pointcut-ref="myPointCut" method="sayGoodbye" />
<bean id="halloObject" class="aopDemo.HalloObject" />
<bean id="myAspectBean" class=" aopDemo.AspectGabbleBetween" />

And the Error:

I dont know how to fix the error. I hope you could help me.

Thanks a lot.
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!