# 问题描述 :
# 启动springboot,提示 : ......Bean already defined with the same name!
2022-06-13 13:29:59.237 WARN 47262 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'bssAttaDao' and 'com.sawl.plug.gcode.dao.BssAttaDao' mapperInterface. Bean already defined with the same name!
2022-06-13 13:29:59.237 WARN 47262 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'bssBusinessDao' and 'com.sawl.plug.gcode.dao.BssBusinessDao' mapperInterface. Bean already defined with the same name!
2022-06-13 13:29:59.237 WARN 47262 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'bssNtznDao' and 'com.sawl.plug.gcode.dao.BssNtznDao' mapperInterface. Bean already defined with the same name!
2022-06-13 13:29:59.237 WARN 47262 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'bssPersonDao' and 'com.sawl.plug.gcode.dao.BssPersonDao' mapperInterface. Bean already defined with the same name!
2022-06-13 13:29:59.238 WARN 47262 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'bssPersonSignDao' and 'com.sawl.plug.gcode.dao.BssPersonSignDao' mapperInterface. Bean already defined with the same name!
2022-06-13 13:29:59.238 WARN 47262 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'plAppPlusDao' and 'com.sawl.plug.gcode.dao.PlAppPlusDao' mapperInterface. Bean already defined with the same name!
<!--分页-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<!--<version>1.2.12</version>-->
<!--这里升级为1.3.0即可-->
<version>1.3.0</version>
</dependency>
<!--分页-->
参考:
https://wenku.baidu.com/view/5dc2c72fb868a98271fe910ef12d2af90242a835.html
网友评论