Spring configuration error No adapter for IAdvice of type

Source: Internet
Author: User

Reference: http://www.bkjia.com/kf/201305/211728.html error 13

 

After the interceptor is configured, an error is reported during running =>

Error creating context: No adapter}

Knowing that there is a problem with the location of the advice configuration, but I just don't know where the problem is. After reading the configuration above, I realized that I forgot to inherit the IMethodInterceptor interface, previously configured correctly, so what is the problem with wood,

This is the new class name, because I don't want to re-write it, So I copied the classes in the previously written classes, and the above problem occurred. I 've been tossing for several hours, so I'm still a real lazy, so it's good to be diligent and hurry up. I can't be afraid of trouble, but it will be even more troublesome if I'm afraid of trouble !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.