Java - Apache Tomcat Not Showing in Eclipse Server Runtime Environments - Stack Overflow
Java - Apache Tomcat Not Showing in Eclipse Server Runtime Environments - Stack Overflow
Java - Apache Tomcat Not Showing in Eclipse Server Runtime Environments - Stack Overflow
I have tomcat 5.5 installed, running and verifiable at http://localhost:8080/. The Tomcat menu option appears in the Eclipse menu bar
38
and I can start and stop Tomcat from there. In Eclipse, it does not show as a Server Runtime Environment in Window - Preferences -
Server - Runtime Environments, nor does it appear in the list of environments that can be added when I click the "Add" button. All I
see is the J2EE Runtime Library.
Edit:
Share Improve this question Follow edited Jan 4 '10 at 18:35 asked Jan 4 '10 at 15:05
Powerlord Dumars
82.9k 16 120 164 1,751 2 11 3
1 After trying all these things, I turned out I was not supplying the full binary path for tomcat i.e. /usr/local/Cellar/tomcat7/7.0.57/libexec/ in my case.
Might help someone.
– Usman
Jan 13 '15 at 1:28
Join Stack Overflow to learn, share knowledge, and build your career.
In my case I needed to install "JST Server Adapters". I am running Eclipse 3.6 Helios RCP Edition.
EDIT: With Eclipse 3.7 Indigo Classic, Eclipse Kepler and Luna, the steps are the same (with appropriate update site) but you need both
JST Server Adapters and JST Server Adapters Extentions to get the Server Runtime Environment options.
Share Improve this answer Follow edited Feb 22 '19 at 10:06 answered Feb 8 '11 at 17:59
Community ♦ Andriy Drozdyuk
1 1 51.5k 44 151 259
Worked for me too, except I obviously chose Galileo from the dropdown because that's the version I'm using.
– Joey Marianer
Jun 15 '11 at 18:23
28 Also works with Eclipse 4.2 M6. Don't forget to install the "JST Server Adapters Extenstion"
– koppor
Mar 31 '12 at 21:12
Works great! Stressing @koppor's comment - Don't forget to install the "JST Server Adapters Extenstion"
– Ido Cohn
Aug 14 '13 at 8:07
2 For version 2019-09, in drop down select: 2019-09 - download.eclipse.org/releases/2019-09 and install both: JST Server Adapters and JST Server
Adapters extensions
– Olivier Royo
Nov 14 '19 at 8:07
Join Stack Overflow to learn, share knowledge, and build your career.
You need to go to Help>Eclipse Marketplace . Then type server in the search box it will display Eclipse JST Server Adapters
(Apache Tomcat,...) .Select that one and install it .Then go back to Window>Preferences>Server>Runtime Environnement, click add
Sign up with email
Sign up with Google
Sign up with GitHub
Sign up with Facebook
32 choose Apache tomcat version then add the installation directory .
Share Improve this answer Follow edited Feb 20 '16 at 20:53 answered Feb 20 '16 at 20:47
Java Main
1,275 12 17
2 If you have Tomcat version > 8, and cannot find it in the list, update your eclipse to Oxygen and it will show up. If you want to use Neon, install the
plugin from bugs.eclipse.org/bugs/attachment.cgi?id=262418 and restart Eclipse. If you are using Mars or below, these solutions will not work.
– Vikas
Nov 13 '17 at 21:00
2 Using Oxygen and Tomcat 9, I tried this, but the list only added up to Tomcat v8.0. I then tried the first solution in this thread installing JST Server
Adapters and JST Server Adapters Extentions through the Help -> Install New Software option. It told me they were already installed and would be
updated. After the update, now the Tomcat versions include 8.5 & 9.0, so it looks like that method is the better option.
– Inukshuk
Feb 5 '18 at 19:02
I had the same problem and I solved it with the following steps
Complete all the installation steps and restart Eclipse. You'll see a bunch of servers when you try to add a server runtime environment.
1 Well that doesn't work as I get "Eclipse Java EE Developer Tools Missing requirement: EJB component Plug-in requires 'bundle
org.eclipse.emf.codegen but it could not be found and it goes on and on...
– Andriy Drozdyuk
Feb 8 '11 at 17:44
1. Window > Preferences > Server > Runtime Environments (as you said)
2. Add
16 Join Stack Overflow to learn, share knowledge, and build your career.
3. Apache > Apache Tomcat 5.5
Sign up with email
Sign up with Google
Sign up with GitHub
Sign up with Facebook
That has worked for the past 3 versions of Eclipse at least. If there is not such an option on your eclipse, get a fresh installation (for
Java EE developers).
Share Improve this answer Follow edited Apr 21 '13 at 9:03 answered Jan 4 '10 at 15:25
Arjan Tijms Bozho
36.8k 12 105 134 560k 137 1032
1125
4 ..assuming that OP is using "Eclipse for Java EE developers" and not "Eclipse for Java developers" sausaged with some extra (and incomplete) plugins.
– BalusC
Jan 4 '10 at 17:54
It worked for me as I already had all the plugins asked in other answers. Thanks @Bozho
– Kush
Oct 17 '12 at 11:21
It'll be helpful if there's a list of dependency relations of Eclipse function and plugins.
– smwikipedia
Dec 15 '14 at 10:00
nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime
Library.
8
Go get "Eclipse for Java EE developers". Note the extra "EE". This includes among others the Web Tools Platform with among others a
lot of server plugins with among others the one for Apache Tomcat 5.x. It's also logically; JSP/Servlet is part of the Java EE API.
Share Improve this answer Follow edited Feb 8 '11 at 17:47 answered Jan 4 '10 at 17:56
BalusC
1.0m 356 3504
3475
4 Sorry but I don't think getting EE eclipse is a solution. Eclipse was made from the beginning to be "pluggable" - so why should I download a different
version of eclipse?
– Andriy Drozdyuk
Feb 8 '11 at 17:40
@drozzy: I noticed in your other comment on Hoa's answer that you got trouble yourself with getting your Eclipse non-EE right. Did you notice the
answer of user443326 as well? And the comments on Bozho's answer? I have no problems with downvotes, I'm always eligible to fix/improve the
answer accordingly. I only fail to understand the downvote in this particular case when it's actually Eclipse's own fault, not mine.
– BalusC
Feb 8 '11 at
18:02
I am just saying that the answers like "Uninstall that and install another version of eclipse" do not solve the problem, they simply side-step it. Sorry for
the down-vote - I've a tendency to do so without thinking. I removed it.
– Andriy Drozdyuk
Feb 8 '11 at 21:29
You may get more success if you do a "search" for the runtime env from the preferences screen instead of hitting "add" - see this
demo on youtube. http://www.youtube.com/watch?v=EOkN5IPoJVs&playnext_from=TL&videos=rVnITzSU2Z8 - When you hit search,
1 you are prompted to point to the tomcat directory and then it SHOULD add it as a server runtime environment. Unfortunately for me,
that is not the case (I get "no new server runtime environments were found") But you might have more success.
Share Improve this answer Follow edited Jul 20 '10 at 7:48 answered Jul 19 '10 at 9:27
Tommy
177 1 2 17
Scenario 1:
You had Eclipse showing server and now after removing the particular version you want to configure at Eclipse a new local
server instance. But you can not move further.
1
This happens due to reason Eclipse still looks for configured version of Tomcat directory, which directory is no longer there.
All we need is to REPLACE the new server run time environment into eclipse after removing old one, which is non-existent. Eclipse will
Join Stack Overflow to learn, share knowledge, and build your career.
Join Stack Overflow to learn, share knowledge, and build your career.
Highly active question. Earn 10 reputation (not counting the association bonus) in order to answer this question. The reputation requirement helps protect
this question from spam and non-answer activity.
Join Stack Overflow to learn, share knowledge, and build your career.