Site icon port135.com

Solved: Eclipse error “Target runtime Apache Tomcat v7.0 is not defined”

You may run into this issue when you try to compile your JSP project:

Target runtime Apache Tomcat v7.0 is not defined
Faceted Project Problem

Solution

Make sure to install correct Apache Tomcat version. For the easiest installation, you can download and run “32-bit/64-bit Windows Service Installer” for any version (In my case, it is Tomcat 8.0.37).

http://tomcat.apache.org/download-80.cgi

After installing Apache Tomcat, follow the steps below.

  1. Install JST Server Adapters (Help -> Eclipse Marketplace)
  2. Right click on your project. Choose “Properties
  3. Go to “Targeted Runtime
  4. Choose or Add the Tomcat version you prefer

If this doesn’t solve the issue, try changing the target runtime in the configuration file  (org.eclipse.wst.common.project.facet.core.xml).

Exit mobile version