更新时间:2022-11-17 19:46:17
如果我添加
( required = false)
,我得null
beans
。
该字段是否显式设置为null或者根本没有设置它?尝试添加初始化表达式
Does the field get explicitly set to null or does it simply not get set at all? Try adding an initializer expression
@Autowired List<SomeBeanClass> beans = new ArrayList<>();