Description
FileSystemResource takes a java.nio.file.Path to load the resource.
This leads to java.io.NotSerializableException: sun.nio.fs.WindowsPath in my case. I know this is a problem of JavaSerializer and I already found the solution to use something like Kryo Serializer instead.
But wouldn't it be better to have the possibility to use a Model for the path anyway?