springboot自定义类@autowire注入为null的问题

百度搜索了一大圈,尝试了各类办法无果,最后终于找到一种解决办法,在此记录一下。html 解决方案:  1.上代码this @Component public class AtoboPipeline implements Pipeline { @Autowired private UrllistRepository urllistRepository; private s
相关文章
相关标签/搜索