As the title, encountered a problem
@Value("${file.path}")
private static String filePath;
This is unable to get the value in the configuration file
Just remove static
Problem principle:
As the title, encountered a problem
@Value("${file.path}")
private static String filePath;
This is unable to get the value in the configuration file
Just remove static
Problem principle: