Tomcat version 9.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5, 6, 7, and 8 web modules in eclipse

eclipse Imported a project from someone else , The runtime prompts that there is no server available , as follows :

View the server in the item property settings , Still prompt that no server is available :

Try to configure a project deployed under an existing server Add and Remove…

Tips Tomcat version 9.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5, 6, 7, and 8 Web modules

And found that the item could not be Add>, That is, it cannot be deployed

terms of settlement :

Edit the root directory of the project .settings In the catalog org.eclipse.wst.common.project.facet.core.xml file , Change the version to 3.0, as follows :

if .settings Directory not visible , Expand the lower triangle on the right side of the item , Click on Filters and Customization…

Cancel .*resources and Empty library containers You can check the status of

Read more here: Source link