FileNotFound error while working with XML files in windows
Hi everyone, I know this sounds silly but tell me somebody apart from a file not being found in a specified directory what else can lead to the exception above? Is it that java doesnt like windows directory naming that allows spaces, I deploy my server application under windows Documents and Settings with the xml config files in a sub directory but anytime I run my application it cant find the config files. I am using a third party jar libraries-specifically jpos.
help would be highly appreciated
regards
Re: FileNotFoundError when working with xml files in windows
Hello ochieng,
Welcome to the Java Programming Forums!
The only time ive ever encounted the FileNotFoundError is when im pointing to an incorrect directory or file.
Have you tried testing on another directory that doesn't contain spaces? Its worth looking at that first..
FileNotFoundException (Java 2 Platform SE v1.4.2)
If possible, please post your code here. It will help others to diagnose your problem.