Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Autoproxying @AspectJ aspects

 
Vivek Alampally
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I am trying to execute the program given in section 4.3.2 in Spring in action 2nd edition. So I defined following files.

Audience.java
---------------------


applicationContext.xml
------------------------------------

TestMain.java
-----------------------

Instrument.java
-------------------------

Instrumentalist.java
--------------------------------

PerformanceException.java
--------------------------------------


Performer.java
-----------------


Saxophone.java
--------------------


I am getting the following exception

Can any body tell where I am doing wrong!!! I have posted this in another forum also(http://www.manning-sandbox.com/thread.jspa?threadID=38827&tstart=0)

Thanks
Vivek
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@AfterThrowing("perfomance()") -> @AfterThrowing("performance()")
 
Vivek Alampally
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much. I did the above mentioned change. Now it works.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't forget to write that at Manning's forum !
 
Syed Iqbal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a similar problem. Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic