This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes [spring] aop config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "[spring] aop config" Watch "[spring] aop config" New topic

[spring] aop config

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250

i use spring and i try to use aop.

before some method of a class been called, i would like to check if the user have the correct access to do it...

my files

in a testCase file i do

the error message

it's seem to be a config error...
i spent a couple of hour to try to resolve this problem..

any idea?

[ April 15, 2008: Message edited by: mark smith ]
Veeresh Hosur
Ranch Hand

Joined: Dec 18, 2007
Posts: 32
Have you configured your MessageResourceBundles? if not configure that in your spring config file(applicationContext.xml)
An Thien Nguyen Ha

Joined: Aug 08, 2008
Posts: 1
1. Have you included CGLIB in your lib folder ?
2. Modify your AOP config just like this :
<aop:config proxy-target-class="true">
Have you tried LearnNowOnline?
subject: [spring] aop config