aspose file tools*
The moose likes Spring and the fly likes Autoproxying @AspectJ aspects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Autoproxying @AspectJ aspects" Watch "Autoproxying @AspectJ aspects" New topic
Author

Autoproxying @AspectJ aspects

Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 67
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

@AfterThrowing("perfomance()") -> @AfterThrowing("performance()")


[My Blog]
All roads lead to JavaRanch
Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 67
Thank you so much. I did the above mentioned change. Now it works.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Don't forget to write that at Manning's forum !
Syed Iqbal
Greenhorn

Joined: Mar 19, 2011
Posts: 5
I had a similar problem. Thank you.
 
wood burning stoves
 
subject: Autoproxying @AspectJ aspects