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 config 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 config" Watch "[spring] aop config" New topic

[spring] aop config

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 251

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">
I agree. Here's the link:
subject: [spring] aop config
It's not a secret anymore!