标签: java spring
我有一个类,我想在其中读取属性文件并使用@value初始化静态字段,但这总是为空
public class MyClass{ @value(${my.value}) private static String myValue; }
所以我的问题在这里,