用户38849991 作者
0 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysLogininforMapper' and 'com.shanzhu.blog.system.mapper.SysLogininforMapper' mapperInterface. Bean already defined with the same name! 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysMenuMapper' and 'com.shanzhu.blog.system.mapper.SysMenuMapper' mapperInterface. Bean already defined with the same name! 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysNoticeMapper' and 'com.shanzhu.blog.system.mapper.SysNoticeMapper' mapperInterface. Bean already defined with the same name! 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysOperLogMapper' and 'com.shanzhu.blog.system.mapper.SysOperLogMapper' mapperInterface. Bean already defined with the same name! 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysPostMapper' and 'com.shanzhu.blog.system.mapper.SysPostMapper' mapperInterface. Bean already defined with the same name! 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysRoleDeptMapper' and 'com.shanzhu.blog.system.mapper.SysRoleDeptMapper' mapperInterface. Bean already defined with the same name! 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysRoleMapper' and 'com.shanzhu.blog.system.mapper.SysRoleMapper' mapperInterface. Bean already defined with the same name! 14:03:12.694 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysRoleMenuMapper' and 'com.shanzhu.blog.system.mapper.SysRoleMenuMapper' mapperInterface. Bean already defined with the same name! 14:03:12.695 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysUserMapper' and 'com.shanzhu.blog.system.mapper.SysUserMapper' mapperInterface. Bean already defined with the same name! 14:03:12.695 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysUserPostMapper' and 'com.shanzhu.blog.system.mapper.SysUserPostMapper' mapperInterface. Bean already defined with the same name! 14:03:12.695 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysUserRoleMapper' and 'com.shanzhu.blog.system.mapper.SysUserRoleMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsBlogMapper' and 'com.shanzhu.blog.cms.mapper.CmsBlogMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsBlogTagMapper' and 'com.shanzhu.blog.cms.mapper.CmsBlogTagMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsBlogTypeMapper' and 'com.shanzhu.blog.cms.mapper.CmsBlogTypeMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsCommentLikeMapper' and 'com.shanzhu.blog.cms.mapper.CmsCommentLikeMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsCommentMapper' and 'com.shanzhu.blog.cms.mapper.CmsCommentMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsMessageLikeMapper' and 'com.shanzhu.blog.cms.mapper.CmsMessageLikeMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsMessageMapper' and 'com.shanzhu.blog.cms.mapper.CmsMessageMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsTagMapper' and 'com.shanzhu.blog.cms.mapper.CmsTagMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'cmsTypeMapper' and 'com.shanzhu.blog.cms.mapper.CmsTypeMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'fileBlogInfoMapper' and 'com.shanzhu.blog.cms.mapper.FileBlogInfoMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'fileNoticeInfoMapper' and 'com.shanzhu.blog.cms.mapper.FileNoticeInfoMapper' mapperInterface. Bean already defined with the same name! 14:03:12.696 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'sysFileInfoMapper' and 'com.shanzhu.blog.cms.mapper.SysFileInfoMapper' mapperInterface. Bean already defined with the same name! 14:03:12.697 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'genTableColumnMapper' and 'com.shanzhu.blog.generator.mapper.GenTableColumnMapper' mapperInterface. Bean already defined with the same name! 14:03:12.697 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - Skipping MapperFactoryBean with name 'genTableMapper' and 'com.shanzhu.blog.generator.mapper.GenTableMapper' mapperInterface. Bean already defined with the same name! 14:03:12.697 [restartedMain] WARN o.m.s.m.ClassPathMapperScanner - [warn,44] - No MyBatis mapper was found in '[com.shanzhu.blog.system.mapper, com.shanzhu.blog.cms.mapper, com.shanzhu.blog.generator.mapper]' package. Please check your configuration.6个月前@山竹老师
用户38849991 作者
0 日志中的警告信息主要是与MyBatis的Mapper重复定义相关,表示一些Mapper接口(如sysConfigMapper、sysDeptMapper等)已经在其他地方定义过,因此会跳过这些重复的定义。这通常是在Spring配置文件或组件扫描时遇到的警告,表明这些Mapper已经被自动扫描并注册为Spring的Bean。 但是显示成功启动呀6个月前@山竹老师
回复6
查看全部最新最热