spring 配置加了这个没有 <!-- 使用annotation 自动注册bean,并保证@Required,@Autowired的属性被注入 --> <context:component-scan base-package="com.evo.bpc" annotation-config="true"/>
看看你的jar包版本吧, 我的可以啊
81,092
社区成员
341,716
社区内容
加载中
试试用AI创作助手写篇文章吧