I run the following code:
new FileSystemXmlApplicationContext("/data/farm/Server/confData/1000004/contex.xml")
and he throws
java.io.FileNotFoundException: class path resource [data/farm/Server/confData/1000004/contex.xml] cannot be opened because it does not exist
File exists i can do
cat /data/farm/Server/confData/1000004/contex.xml
and see its contents. Also in windows this code works - problem in linus (I have ubuntu os)
Can anyone tell me what's wrong here?
source
share