ApplicationContext ac = null;
ac = new FileSystemXmlApplicationContext(
new String[] { "file:/home/user/config.xml", "file:/home/user/props.xml"} );
Sino podria obtener el siguiente error
2010-01-11 12:22:35,050 ERROR [STDERR] org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [/root/home/user/config.xml]; nested exception is java.io.FileNotFoundException: home/user/config.xml (No such file or directory)
0 comentarios:
Publicar un comentario