Arthur Eirich
Arthur Eirich

Reputation: 3638

Adding Tomcat into Eclipse

I am trying to add a Tomcat server into runtime environments. I successfully installed Tomcat. I already have Java EE eclipse, BUT after I click search under Window->Preferences->Server->Runtime environments and select Apache Tomcat and then click OK a window with the following text popups:

No new server runtime environments were found.

What am I doing wrong? I thought after switching to Java EE and installing tomcat I will be able to add the RE.

Update

After trying to add the RE: no tomcat servers list:

enter image description here

After trying to search (C:/Program Files/Apache...):

enter image description here

And finally the popup after choosing "apache software foundation" and hitting OK:

enter image description here

Upvotes: 0

Views: 10731

Answers (4)

mittu
mittu

Reputation: 83

Run time environment click on add button select Apache tomcat-> Click on next button -> Browse the Tomcat 7.0 path -> Finish.

Upvotes: 4

user5030783
user5030783

Reputation: 31

Because you are not having JST server adapters...you are not able to see installed apache in eclipse ....just install this through 'install new software' in help menu ....

Upvotes: 3

MickJ
MickJ

Reputation: 2197

You need to specify the server runtime in that window. From the browse button, select the base path of the directory where you have installed tomcat and hit next. Hopefully that should do it. There should also be an option to download and install, if you have internet connectivity.

If you dont see any server types in the 'add new Server' dialog, then you are probably missing the server adapters. In which case click on the 'Download additional server adapters' link. This will allow you to pick and download 'tomcat server adapter'. Once that is done.

Add New Server

Add New Server

Some screenshots etc would also help in understanding and helping you resolve your issue.

Hope this helps.

Upvotes: 4

Adam Gent
Adam Gent

Reputation: 49095

You are most likely are missing the Eclipse Tomcat Server Feature. You can either try reinstalling all of the WTP plugins or maybe install Spring STS which I'm sure has the plugin installed.

Upvotes: 0

Related Questions