The injection point has the following annotations: - @org.springframework.beans.factory.annotation.

The injection point has the following annotations: - @org.springframework.beans.factory.annotation.
错误原因:Autowired 根据类型去spring容器找,找不到那个类,就会报错
解决方法:在springboot启动类上添加注解 @ComponentScan(basePackages = { “com.jeff” })
The injection point has the following annotations: - @org.springframework.beans.factory.annotation.