Annotation-specified bean name 'imageLoader'报错,请问大神什么原因啊?

搭建springmvc+batis项目,但是启动时报错,jdk1.8,
图片说明导入的jar包图片说明web.xml

daoContact.xml :
图片说明图片说明图片说明图片说明
项目结构:图片说明

报错截图:
图片说明

说明:我百度很久都说是命名冲突,但是我写的代码中没有imageLoader这个东西,我怀疑是包冲突了?或者是jdk跟包冲突了?

报错第一句话是:org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'imageLoader' for bean class [com.sun.javafx.tk.ImageLoader] conflicts with existing, non-compatible bean definition of same name and class [com.sun.javafx.iio.ImageLoader]

求助各位

学生有点穷,买不起c币....微信转账5元悬赏!!!!!!!

问题出在mapper的自动装配
大致过程是这样的:spring容器一开始会给com.sun.javafx.tk.ImageLoader装配 你的mapper也需要装配ImageLoader 所以xml解析到这里就会报 相同bean装配的错误
解决方式:basePackage属性的value值所采用的路径深一点就ok了 比如:com.xxx.xxx

https://blog.csdn.net/qq_41570658/article/details/88827273