老师,麻烦问您一个数据库的问题
来源:4-13 前后端联调验证整体模块功能

梅子酒ya
2022-04-09
我前端的参数可以传递到后端来,但是能将数据写到数据库里面去,然后出现警告
2022-04-09 22:29:30.034 [http-nio-8080-exec-7] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name ‘areaDao’ and ‘com.mzj.o2o.dao.AreaDao’ mapperInterface. Bean already defined with the same name!
2022-04-09 22:29:30.034 [http-nio-8080-exec-7] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name ‘shopCategoryDao’ and ‘com.mzj.o2o.dao.ShopCategoryDao’ mapperInterface. Bean already defined with the same name!
2022-04-09 22:29:30.034 [http-nio-8080-exec-7] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name ‘shopDao’ and ‘com.mzj.o2o.dao.ShopDao’ mapperInterface. Bean already defined with the same name!
2022-04-09 22:29:30.035 [http-nio-8080-exec-7] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in ‘[com.mzj.o2o.dao]’ package. Please check your configuration.
1回答
-
翔仔
2022-04-09
同学好,没太明白同学的意思,是说功能都正常但是有警告吗?警告这里说的是bean的名字shopDao、areaDao已经有重名,可以分别全局搜索下这两个关键字,看看在哪里配置重复了。
00
相似问题