Search code examples
eclipseserver

Can't choose an existing server in a Dynamic Web Project in Eclipse


My colleague just set up a Dynamic Web Project in Eclipse and he also configured the server. He shared the entire project on a git repository and I cloned it. When I try to run the HTML file I click on 'run on server' but then I'm not able to choose an existing server already configured. Eclipse forces me to create a new server with default configuration.

image of eclipse


Solution

  • Right click on you project and go to properties. Go to Project Facets and on Dynamic Web Module click the little drop down menu and select 3.1. I initially had it at 4.0 and it was not supported in my version of Eclipse.