spring和mybatis集成暴露出spring的問題
warn:Skipping MapperFactoryBean with name ‘appOperateRecordMapper’ and ‘XX.XX.XX.daor’ mapperInterface. Bean already defined with the same name!
php
2014-07-22 18:02:29 WARN [main] (ClassPathMapperScanner.java:155) – No MyBatis mapper was found in ‘[XX.XX.XXXt.dao]‘ package. Please check your configuration.java
在集成的過程當中,暴露出了這個warn。給咱們一個warn.這個是spring的bug,在使用兩個臭名昭著的標籤的時候,spring會把同一個bean注入兩次.致使上面的warn警告出現。可是不要緊,不妨礙使用。spring
不過,挺噁心的。mybatis
你們能夠出來聊聊啊!咋處理的啊app