existiert:Warum FileSystemXmlApplicationContext FileNotFoundException auf Datei wirft die
new FileSystemXmlApplicationContext("/data/farm/Server/confData/1000004/contex.xml")
und es wirft
java.io.FileNotFoundException: class path resource [data/farm/Server/confData/1000004/contex.xml] cannot be opened because it does not exist
Die Datei vorhanden ist, kann ich
cat /data/farm/Server/confData/1000004/contex.xml
und sehen Sie seinen Inhalt. Auch in Windows funktioniert dieser Code - das Problem ist in linus (ich habe ubuntu os)
Kann jemand beraten, was hier falsch ist?
Check this out http://forum.springsource.org/showthread .php? 37155-Path-problem-with-FileSystemXmlApplicationContext – Gamb