Can't find Tomcat Runtime in Eclipse Mars [duplicate]
Asked Answered
S

4

6

I am new to web programming in Java and I am struggling with some problems. I want to create a new runtime server using Tomcat, but the only things that I can select from Apache folder are Geronimo related. I have installed all the adapters for Apache, I really don't know what else I can do. Please help me.

enter image description here

Slipsheet answered 16/5, 2016 at 21:35 Comment(0)
E
9

I had to add the JST Server Adapters and JST Server Adapter Extensions as well. Go through Help -> Install New Software to get them. Then when I went to the New Server Runtime Environment (your screen cap) I had a second Apache option and in that were the Tomcat servers.

Equerry answered 22/5, 2016 at 6:52 Comment(1)
Worked for me as well. Also used crunchify.com/… to solve my problem once JSTs were downloaded.Dissentient
I
1

Is it missing just from the menu maybe?

If you goto "Window > Show View > Other..." and then type Servers in the filter, does it show up?

Also make sure you downloaded the "Eclipse For Java EE Developers" package as I do not believe the "Eclipse for Java Developers" contains the Servers view.

Eclipse for Java EE Developers: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr1

Inmost answered 16/5, 2016 at 21:46 Comment(0)
M
0

The apache tomcat plugin for eclipse is part of the WTP (Eclipse Web Tools Platform), but you can get it separately from here. Just drag the link to your workspace and install it. You will then be able to configure a running Tomcat Server in your eclipse IDE.

If you run into problems with the Tomcat plugin then the next step I'd follow is just to install the WTP here. Copy the link and paste it into the intallation url field. Check the whole WTP option and install everything.

Mort answered 16/5, 2016 at 21:44 Comment(3)
That is rather strange... Try installing the whole WTP then. You'de be better off with the eclipse for java ee developers edition. I'm just trying to see if there is a solution to keep your current configuration. You did try this page right?: marketplace.eclipse.org/content/eclipse-tomcat-plugin.Gamez
I installed the Tomcat plugin and I can run a tomcat server from the new tab, but still it doesn't appear in my new server runtime window and I can not link a new project to this (as a targe routine )Slipsheet
It might have to do with something in the WTP that needs to be there. It's good that at least you can run it now. I think what's missing is some links between Tomcat and Eclipse and that's something that only WTP provides, so I'd say try that and see what happens.Gamez
M
0

I have exactly the same problem as you, and I'm using eclipse oxygen.

Then I try eclipse luna, wow, it works!

Mosesmosey answered 13/9, 2017 at 9:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.