Eclipse showing There are No resources that can be added or removed from the server when adding project
If you are trying to test the java web application (j2ee) on your local machine with built in eclipse support and getting error, then it is related to project facet.
Here is how you can solve the error There are No resources that can be added or removed from the server coming from eclipse
1. right click on your web project in eclispe
2. Select properties
3. Select Project facets
4. Select Dynamic Web Module
5. Click on apply and then click on OK
This will solve the problem.