Cannot start Tomcat 7 from eclipse

I am using Eclipse EE Helios.
I wanted to deploy the project that I created in Tomcat 7.

(I already downloaded Tomcat and created a dynamic project)

I opened Server View in Eclipse and I clicked New to define a new Tomcat instance in Eclipse.

In the New Server dialog box, I selected Tomcat v7.0 Server , but I saw an error indication at the top of the window

Unable to create server using selected type

If I click the Download additional server adapters , I see several options, for example. for Geronimo, GlassFish, etc., but not for Tomcat 7.

What am I doing wrong here?

+4
source share
4 answers

Are you sure you downloaded and installed Tomcat? By default, it does not work with Eclipse.

Here are some guidelines for setting up Tomcat in Eclipse: http://www.michael-thomas.com/tech/apache/tomcat/tutorial_tomcat_eclipse/index.htm

And you can download Tomcat here: http://tomcat.apache.org/download-70.cgi

+1
source

Create a new Tomcat7 Runtime. In the project → right-click → properties → Target runtime → new. It will create a second version from the same server. It worked for me.

+1
source

From a Mac perspective, but should be the same in windows.

Here is a quick guide:

  • Open server window
  • New> Server
  • Select Tomcat Server v7.0
  • Select a server runtime . Click add

5.Select the folder in which you extracted the server files that you downloaded

0
source

Try from Eclipse

Window → Settings → Server → Runtime

Add or modify Tomcat 7.0 server configuration settings. Determine the installation path for the Tomcat 7 directory.

It works for me!

0
source

Source: https://habr.com/ru/post/1390426/


All Articles