Click here to Skip to main content
15,867,879 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, I have a simple web app. I am using Tomcat 9. This web app runs perfectly when running out of the Eclipse (Photon) IDE. But once I generate the WAR file and manually deploy it to the Tomcat 9 webapps directory and then run the web it runs up to a point. Then when trying to read a file it comes back with a file not found exception. I am running this on the Windows 7 platform. Any suggestions. Thanks in advance

What I have tried:

Make sure that Tomcat 9 securities have been set up correctly.
Also made sure the file settings for Windows 7 are correct.
Posted
Comments
Richard MacCutchan 6-Aug-18 3:38am    
Use your debugger to trace where the error occurs and which file is missing.
Jochen Arndt 6-Aug-18 4:00am    
You have to find out which file can't be found (complete path). Checking the error log file of your web server might help with this. Then check where in your code the file is used. In most cases the problem is the path component of the file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900