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.