Spring boot启动报错 dataSourceInitializerPostProcessor

错误信息上说是:mediaUploadAwsRepository 这个类错误 Error creating bean with name 'mediaUploadAwsRepository': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)

但是我还是没发现是什问题 报错信息和类信息截图请看附件
请大神们帮忙看一下 谢谢!

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializerPostProcessor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.beans.factory.BeanFactory org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.beanFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mediaUploadAwsRepository': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)
QQ截图20170913100439.png QQ截图20170913100515.png
已邀请:

要回复问题请先登录注册