After #1814, a user reported a regression (spring-projects/spring-session#1527).
Before, withClasspathResourceMapping was using the mount API, and it creates the folders automatically.
With copy-style API, one has to make sure that the folders are present before copying into them.