1. 程式人生 > >處理異常:Consider defining a bean of type 'xxx' in your config

處理異常:Consider defining a bean of type 'xxx' in your config

@SpringBootApplication(scanBasePackages = {"com.dk.d.database.service.*","com.dk.d.database.repository.*})
public class OrderApplication {
 
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}