我在使用@Cacheable和使用基于Spring表达式语言的自定义键时遇到了问题。org.springframework.expression.spel.SpelEvaluation Exception: EL1007Epos 0): Field or property 'identifier' cannot be found on null文档给出了以下示例我也尝试过静态方法。这
但是如果属性是Integer,则使用property来从属性文件中注入值(我知道有很多问题,我尝试了所有的答案,但问题仍然存在)CONNECTION.TIME.OUT=100000@Value("${CONNECTION.TIME.OUT}")Ecxeption
Failed to convert value ofnested exception is java.lang.NumberFormatException: For input str