I have been trying to deploy a project that I created within eclipse but when I right click on the tomcat server and click “Add and Remove…”, I got the message “There are no resources that can be added or removed from the server”.
From what I understand it has something to do with the facets? I am not really sure to understand what is going wrong here.
Here is what I did for know:
- I created a Maven project.
- executed mvn eclipse:eclipse through the command line on the folder of the project
- installed m2e
- tried to add the project to the tomcat server
You probably want to use either
mvn eclipse:eclipseOR m2e, but not both. m2e has gotten MUCH better in the last couple years, so that’s what I would suggest.It should give the correct facets to your project so it looks like a web project.