启动报错 XXXcontroller required a bean of type ‘XXXX.interface’ that could not be found. 解决办法,在启动类上扫描包。@SpringBootApplication(exclude = { HibernateJpaAutoConfiguration.class }, scanBasePackages = “com.wufj”)