啓動報錯 XXXcontroller required a bean of type ‘XXXX.interface’ that could not be found.
- 解決辦法,在啓動類上掃描包。
- @SpringBootApplication(exclude = { HibernateJpaAutoConfiguration.class }, scanBasePackages = “com.wufj”)
01 引言 作爲後端開發人員,對Redis肯定不陌生,它是一款基於內存的數據庫,讀寫速度非常快。在愛奇藝海外後端的項目中,我們也廣泛使用Redis,主要用於緩存、消