Description:
Parameter 0 of constructor in org.springframework.data.rest.webmvc.RepositorySearchController required a bean named 'entityManagerFactory' that could not be found.
Action:
Consider defining a bean named 'entityManagerFactory' in your configuration.
RepositorySearchController 这个类需要一个 entityManagerFactory 属性引用。
多数据源的配置,找找相关的 bean 定义,然后加到配置文件中:https://blog.csdn.net/f4761/article/details/83831584