将Spring-boot从1.3升级到2.03后,获得BeanCreationException

时间:2018-10-04 08:01:19

标签: java spring-boot

在升级到2.0.3版本的spring-boot-starter-parent之后释放此错误。我有多个存储库接口,它们是从data-jpa扩展JpaRepository的。

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xRepository': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)

0 个答案:

没有答案