[solution] Tomcat java eclipse refresh file ( Tomcat does not see new files )

By.

min read

My profile

Share this:

Ok here’s the thing,

if I create a new file or folder using java ( or just via the filesystem ) and I visit my tomcat localhost page, the file or folder does not exist! (404 error)

Restarting Tomcat does not work.
Only when I refresh (F5) my workspace tomcat ‘sees’ the new file.

[b:c8e7fac699]Solution:[/b:c8e7fac699]
Preferences > General > Workspace > ‘Refresh automatically’
Set this to ON

Note: the ‘refresh automatically’ was introduced in eclipse3.0.

Alternate title: Tomcat can’t ‘see’ new files

[b:c8e7fac699]Read on:[/b:c8e7fac699]
[url]http://forums.sun.com/thread.jspa?threadID=5348749[/url]
[url]http://stackoverflow.com/questions/323473/j2ee-eclipse-file-uploading-project-requires-refresh-on-package-explorer-before-s[/url]

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *