[Solved] There are No resources that can be added or removed from the server - Tomcat

Issue : User created a dynamic web project in Eclipse and then try to deploy it on embedded Tomcat in eclipse by right clicking on server and clicking on "Add and Remove..." option.

User gets message "There are No resources that can be added or removed from the server"


Solution :

Right click on project -> Properties->Type "Project Facets"-> Select "Project Facets" -> tick Dynamic Web Module checkbox -> Select appropriate version -> Click Apply.



Now again right click on server and select "Add and Remove..." option,you should be able to deploy project as can be seen in below screenshot.



Thanks for reading!!!!