permaculture playing cards*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "[spring] aop config" Watch "[spring] aop config" New topic
Author

[spring] aop config

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 246
hi

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?

thanks
[ 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
Greenhorn

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">
 
 
subject: [spring] aop config
 
Similar Threads
Problem with the Sample Spring AOP application
Arjuna Transaction with Jboss
Need Help!!!!: Issues Deploying with Spring in JBoss
CustomEditorConfigurer Exception
Anyone ever used Liferay Portal 5.2 Systems Development Book? - I have a problem and cant fix it!