I am using Eclipse Neon. I can't run the project because of this error: "Target runtime Apache Tomcat v7.0 is not defined".
Note 1: This window is not available in Neon version as it is suggested in some posts: "right click on your project > Properties > Targeted Runtime > Click the version required 8.0"
Note 2: The content of my settings file is below (org.eclipse.wst.common.project.facet.core.xml
)
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="Apache Tomcat v7.0"/>
<fixed facet="java"/>
<fixed facet="jst.web"/>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.8"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
Try to install the JST Server adapters. Go to Help -> Eclipse Marketplace and try looking for JST server adapters and install them.