Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Tomcat 8 to Eclipse Kepler without installing the big whole WTP package

Tags:

Ok I am running with Eclipse Kepler. Tried today to set it up for Tomcat 8, but the adapter won't appear in the list.

Googled a bit and found tutos on SO, nixmash and vitalflux, which all sum up the same way: download the last 3.6 Eclipse WTP and unzip it in your eclipse directories.

But I don't want a whole upgrade of my Kepler to the Luna WTP version (In my understanding, this is what would actually happen). I am looking for a way to pick only the server adapters. How do I do that?

like image 492
Aldian Avatar asked Aug 06 '14 15:08

Aldian


People also ask

How can I add Tomcat server to Eclipse?

Installing server runtime Start the Eclipse WTP workbench. Open Window -> Preferences -> Server -> Installed Runtimes to create a Tomcat installed runtime. Click on Add... to open the New Server Runtime dialog, then select your runtime under Apache (Apache Tomcat v5. 0 in this example):

Is Tomcat included in Eclipse?

Eclipse is a very powerful development environment for Java. Mainly for Web Development project you need Web Server. Apache Tomcat is the best production ready web container. By default when you download Eclipse IDE, it doesn't come with Tomcat install with it.

How do I download and configure apache tomcat server in Eclipse IDE?

For configuring the tomcat server in eclipse IDE, click on servers tab at the bottom side of the IDE -> right click on blank area -> New -> Servers -> choose tomcat then its version -> next -> click on Browse button -> select the apache tomcat root folder previous to bin -> next -> addAll -> Finish.


1 Answers

After experimenting by myself, I came up with the following solution:

  • Go to the "Install New Software..." menu

enter image description here

  • Use the Luna WTP url but select only the adapters (http://download.eclipse.org/webtools/repository/luna):

enter image description here

  • Wait for the dependencies to be resolved:

enter image description here

  • Complete the installation process, restart Eclipse, try to configure a new server:

enter image description here

Hope this helps..

like image 137
Aldian Avatar answered Oct 22 '22 10:10

Aldian