@EnableAsync annotation metadata was not injected

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zianY/article/details/79884368
idea 运行maven 项目 报错:

@EnableAsync annotation metadata was not injected

翻译就是 未注入@EnableAsync注释元数据


<!-- 扫描所有的组件 -->
<context:component-scan base-package="com.*">
   <context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller" />
</context:component-scan>

指定到具体要扫描的包

猜你喜欢

转载自blog.csdn.net/zianY/article/details/79884368