this is a business logic class that uses the properties in the application.yml file (see figure queueNum)
application.yml
I expect the springboot application to output "maxCost = 5" when it runs, but actually output "maxCost = 0". I think this may be due to the different instantiation and injection order of bean, but I did not find the relevant code. does anyone know why? How can I solve this problem?