Apache Tomcat 9 Not Showing in Eclipse Server Runtime Environments
You have downloaded and installed tomcat 9 to your machine, then on Eclipse > Window > Preferences > Server > Runtime Environment, after clicking on Add, and then select your downloaded tomcat.
No server in Eclipse; trying to install Tomcat
Try to install JST Server Adapters
and JST Server Adapters Extentions
. I am running Eclipse 4.4.2 Luna and it worked.
Here are the steps I followed:
Help -> Install New Software
Choose "Luna - http://download.eclipse.org/releases/luna" site
Expand "Web, XML, and Java EE Development"
Check JST Server Adapters and JST Server Adapters Extentions
Tomcat 8 does not appear in Eclipse server list
Eclipse Kepler (4.3) was released in 2013, Tomcat 8 was released in 2014 and 8.5 in 2016 - so your Eclipse release is too old to know about those releases. Use a newer release of Eclipse such as the current 2020-09 (4.17) release.
Adding Tomcat into Eclipse
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.
Some screenshots etc would also help in understanding and helping you resolve your issue.
Hope this helps.
No server in windowspreferences
You did not install the correct Eclipse distribution. Try install the one labeled "Eclipse IDE for Java EE Developers".
Tomcat server not being recognized
You can tell it about the Tomcat installation using the Server Runtime Environments preference page.
If Tomcat isn't already a known server type, you might need to install a few more. The WTP FAQ has instructions.
All of those tutorials are wrong. You do want to download a copy of Tomcat from Apache so it has the expected layout when Eclipse looks for the jars needed to launch it, but there's no reason to actually put it in the workspace.
Related Topics
Using Bufferedreader.Readline() in a While Loop Properly
Filling Combobox from Database by Using Hibernate in Java
Annotation to Filter Results of a @Onetomany Association
No Serializer Found for Class Org.Hibernate.Proxy.Pojo.Bytebuddy.Bytebuddyinterceptor
How to Change the Color of Titlebar in Jframe
How to Get Start and End Range from List of Timestamps
When Does the Main Thread Stop in Java
Check If a Value Exists in Arraylist
Java Se 6 VS. Jre 1.6 VS. Jdk 1.6 - What Do These Mean
Is Asynchronous Jdbc Call Possible
How to Get a List from Some Class Properties with Java 8 Stream
Calling a Java Method to Draw Graphics
Gradle - Getting the Latest Release Version of a Dependency
Use of the Manifest.Mf File in Java