estoy ejecutando el siguiente código:FileSystemXmlApplicationContext lanza FileNotFoundException el archivo que existe
new FileSystemXmlApplicationContext("/data/farm/Server/confData/1000004/contex.xml")
y se lanza
java.io.FileNotFoundException: class path resource [data/farm/Server/confData/1000004/contex.xml] cannot be opened because it does not exist
El archivo existe, no puedo hacer
cat /data/farm/Server/confData/1000004/contex.xml
y ver su contenido. También en Windows este código está funcionando - el problema está en linus (tengo ubuntu os)
¿Puede alguien aconsejar qué está mal aquí?
mira esto http://forum.springsource.org/showthread .php? 37155-Path-problem-with-FileSystemXmlApplicationContext – Gamb