troubleshooting Question

The system cannot find the path specified error

Avatar of dkim18
dkim18 asked on
JavaJava EE
13 Comments2 Solutions2001 ViewsLast Modified:
Hi Experts,

I am trying to read input file like this...

dis = new DataInputStream(new FileInputStream("org//xxx//xxx//xxx//resources//"+ boyFilenames[type]));

and I am getting this error: org\xxx\xxx\xxx\resources\xxx.txt (The system cannot find the path specified)

When I run the above program by itself, it works fine.
I made jar file for the above program and stored in ...WEB-INF/lib/ dir and run a J2ee app, it doesn't work.

thanks in advance

Is this co
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros