把@Autowired 改成@Refrence(version=“自己api的version”)就ok了

更多推荐

Consider defining a bean of type '.....' in your configuration