I clean and restarted Tomcat Server. From that time the error comes as follows
Publishing failed with multiple errors Resource is out of sync with the file system
For maven project :
Open Run as => run configurations,
Select the good target "Maven build",
Select the tab Refresh,
Select "Refresh ressources upon completion", select "The selected resource" and apply.
Now you can run the tomcat server after running the targeted maven build and it's works.
In Windows:
The issue because the project is not refreshed in the workspace.
1.Right-click on the project in the workspace 2.Clean Tomcat working directory if required 3.Restart the server
and the server should start again.
avoiding "resource is out of sync with the filesystem"
I has the same problem just clean the project and rebuilt the same and it worked for me :-)
Simply delete the server and re-configure the server
step1: go to server tab
step2: right click on your server and select delete option
step3: now you will get no servers found
step4: re-configure the server
Try to refresh project , it will work , if it does not then close and open eclipse again .This should be corrected