SpringBoot 项目启动 Failed to convert value of type 'java.lang.String' to required type 'cn.com.goldenwater.dcproj.dao.TacPageOfficePblmListDao';

1 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tacPageOfficePblmListServiceImpl': Unsatisfied dependency expressed through field 'tacPageOfficePblmListDao'; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type 'java.lang.String' to required type 'cn.com.goldenwater.dcproj.dao.TacPageOfficePblmListDao'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'cn.com.goldenwater.dcproj.dao.TacPageOfficePblmListDao': no matching editors or conversion strategy found

 

 一不小心写反之后,报错。

posted @ 2019-10-24 14:04  大水煮鱼  阅读(1096)  评论(0编辑  收藏  举报