We help IT Professionals succeed at work.

spring aop logging integration

gudii9
gudii9 asked
on
Medium Priority
692 Views
Last Modified: 2012-05-11
Hi,

I am integrating simple spring AOP logging functionality on top the existing big spring mvc project. Spring MVC project is working fine out side as a separate independent project.( i got that code from link http://www.roseindia.net/tutorial/spring/spring3/aop/aspectjloggingexample.html) . Now when i integrate with existing big spring mvc project (which has lot of batch processes, webservices, junits etc) getting error like cannot find application_context_web.xml file.
errors looks like

Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy46 implementing
Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy46 implementing





Basically looks like spring mvc context is not getting loaded thus throwing the exception. Please advise on how to overcome this road block. Any advise, links, resources, sample code highly appreciated. thank in advance
Comment
Watch Question

Java Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.