问题
I'm trying to add a servlet to a web application in Eclipse but I can't because I have to chose a project in the project selection dropdown list and there is no proposal in it :
The finish button stay disabled until a project is selected so I can't add my servlet.
回答1:
In eclipse, When creating a new project that will contain servlets, you should create a Dynamic Web Project:
If you've already created the project, you can right-click / Configure / Convert to Faceted Form / Dynamic Web Module.
回答2:
Right-click on the project, and click 'Properties'. Then open 'Project Facets', and tick the 'Dynamic Web Module' check-box.
After doing this, your project will be available in the Create Servlet wizard.
来源:https://stackoverflow.com/questions/34977218/cant-add-servlet-in-eclipse-google-app-engine-project