2021年8月19日
摘要: 原因:service无法导入到非controller层中去。 解决方法:注入bean @Component //重点 public class TestServerse{ @Autowired //正常引用目标service private OtherService otherService ; / 阅读全文
posted @ 2021-08-19 22:18 西八没天台 阅读(1406) 评论(0) 推荐(0) 编辑