defined in class path resource [spring-service.xml]: Initialization of bean failed; nested exception

defined in class path resource [spring-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type ‘java.lang.String’ to required type

defined in class path resource [spring-service.xml]: Initialization of bean failed; nested exception
此异常大概意思是,注入失败,不能把String类型的字符串转换为对应的bean,那就是这个mapper映射,有问题了,改成包扫描后解决了