is that I use springboot in maven for multi-environment configuration when I found a problem, when using maven filter, in the custom properties file can use wildcards to read the values in the application.properties file, but not to read yml, there is a boss know why, can be solved.
the above picture takes the value in application.properties, but if you change the resource to yml, you can"t get it
.