【发布时间】:2020-12-31 22:30:46
【问题描述】:
1、当我的字典树喜欢这些时,出现“@EnableAsync annotation metadata was not injection”的错误。
2,但是当我的字典树喜欢这样的时候,错误就不会发生了。
3,当我用application.xml连接Bean时,字典树喜欢第一段,但错误也没有发生。
所以我如此确认的是,@ComponentScan 在没有 application.xml 的情况下连接 Bean 时的工作?
【问题讨论】:
-
请不要将代码添加为图像,因为它们完全不可读。
标签: spring ioc-container component-scan