I have some property file config by @PropertySource and a custom EnvironmentPostProcessor. When execute postProcessEnvironment method, I call environment.getPropertySources() , but can not get ResourcePropertySource of the file. SpringBoot property file by @PropertySource is not available when EnvironmentPostProcessor

Comment From: scottfrederick

Thanks for getting in touch. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. This feels like a question that would be better suited to Stack Overflow. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug. A minimal but complete sample that reproduces the problem will make it easier for others to help you.