Based on the community's positive response to my canonical question about Spring, I think it would be helpful to have a similar canonical about using classpath resources from JAR files or similar packaged applications. (The question "I used File
and it didn't work in a JAR file" shows up on my feed about once a day.)
I'm posting this to solicit feedback, particularly on whether there's a good existing canonical that I managed to overlook.
getResourceAsStream
.