新增的那个SpringValueAnnotationBeanPostProcessor有BUG啊,我properties配置文件里写了个“product.install.specification=”的配置,等于号后面没有填东西。 然后我代码里用 @Value("${product.install.specification:0}") private Integer installSpecification;注入,代码里会解析出个null,然后往injectedObjectsCache里注入。ConcurrentHashMap又不支持value=null,直接空指针了