-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Revisit hint on using classpath* for retrieving templates #23068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can see that |
It was added as fix for #2184 |
I don't understand the problem reported in #2184. I've tried to reproduce it and was unable to do so. I've created an empty package in a library and then used this library as a dependency of sample with the following code: @Bean
public ApplicationRunner applicationRunner(ApplicationContext context) {
return (args) -> System.out.println("Templates --> " + context.getResource("classpath:/templates").getURI());
} I've ran this sample with the IDE (exploded classpath), Given that the fix for #2184 does not have additional test, I am now questioning that The current note states:
I don't understand how ordering has any effect since ultimately we need to make sure a |
We've decided to remove the documentation note in |
See #23051 (comment)
The text was updated successfully, but these errors were encountered: