SPRING and MyBatis integrated warn issues

Source: Internet
Author: User

Spring and MyBatis integration exposes spring's problems
Warn:skipping Mapperfactorybean with Name ' Appoperaterecordmapper ' and ' XX. Xx. Xx.daor ' Mapperinterface. Bean already defined with the same name!

2014-07-22 18:02:29  WARN [main] (classpathmapperscanner.java:155) –no MyBatis Mapper is found in ' [XX. Xx. Xxxt.dao] ' package. Please check your configuration.

in the process of integration, this warn is exposed. Give us a warn. This is a spring bug, in the use of two infamous , Spring injects the same bean two times. Causes the above warn warning to appear. But it doesn't matter, it doesn't interfere with use.

But it's disgusting.

Everyone can come out and talk! What's the deal?

SPRING and MyBatis integrated warn issues

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.