How can I tell Spring
that the resource is supposed to be a network resource, and let it autowire accordingly?
@Value("\\MY-MACHINE\thefile.txt")
private Resource file;
Result:
Caused by: java.io.FileNotFoundException: class path resource [MY-MACHINE\thefile.txt] cannot be resolved to URL because it does not exist