异常信息:Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.example.service.BookService' available
结论:实现层没加注解
异常信息:Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.example.service.BookService' available
结论:实现层没加注解