Some time would like to deploy an ear file to WAS (Web Application Server) as usual. But Eclipse fail to find your EAR and it show an alert like this :
There are no resources that can be added or removed from the server
the solution is that your project needs to have a Eclipse Dynamic Web Module facet.
- right click on project and click properties
- Go to Project Facet and Select dynamic web module and click apply.
- go to tomcat and click add/remove