Eclipse IDE: Eclipse is an open-source Integrated Development Environment that is popular for Java application development (Java SE and Java EE) and Android apps. It also supports C/C++, PHP, Python, Perl, and other web project developments via extensible plug-ins.
Tomcat Server: Tomcat is one of the best web servers and an open-source Jave Servlet container developed by Apache Software Foundation (ASF), which is used by many developers for their project works. It has sublimed to such a greater extent just because of its classicality and its speed and implements J2EE specifications which majorly includes servlets, JSP, and expression languages. With the availability of these vital features, the Tomcat server is still one of the best web servers available in the market.
Note: Download the latest version of eclipse IDE using this link and also configure the java environment.
By default when Eclipse IDE is downloaded, it doesn’t come with Tomcat installed with it. Let us go over all detailed steps to configure Apache Tomcat in an Eclipse environment.
Step 1: Download the latest version ( 9.0.34 ) of apache tomcat sever from this link according to your platform.
Step 2: Extract the files from zip folder. The structure of the folder should look like this:
Step 3: Open Eclipse Java EE (Enterprise edition ) environment. Click on Servers tab at bottom. Click on No servers are available. Click this to create server.
Step 4: A dialog box will appear. Select Tomcat 9.0 server folder. Click Next.
Step 5: Browse to Apache Tomcat 9.0 folder select it. Click Finish.
You should see Tomcat v9.0 Server at localhost [Stopped, Republish ] under Servers tab. Double click on it and verify the HTTP ports. By default HTTP/1.1 port is 8080. If there is any application running on default port 8080 then change it to any other port.
Step 7: Now right click on Server and click Start.
Step 8: The server will be started and shows the following Tomcat v9.0 Server at localhost [ Started, Synchronized ].
The following server is running at port 8080 on localhost and we can visit the webpage using the URL http://localhost:8080/
Attention reader! Don’t stop learning now. Get hold of all the important Java and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready.
- How to create a PApplet Project in Eclipse Processing
- Difference Between Apache Kafka and Apache Flume
- What Will Be The Best Java IDE's in 2020?
- Spring MVC using Java based configuration
- Apache Cassandra tools
- Apache JMeter - An Introduction
- Opening Existing Excel sheet in Java using Apache POI
- Apache POI | Getting Started
- Creating Sheets in Excel File in Java using Apache POI
- Apache Hive
- Introduction to Apache Cassandra
- How to make sure that Apache service keeps running in Ubuntu
- Introduction to Apache Pig
- Apache Cassandra (NOSQL database)
- Architecture of Apache Cassandra
- Overview of Data modeling in Apache Cassandra
- Concept of indexing in Apache Cassandra
- Collection Data Type in Apache Cassandra
- Pre-defined data type in Apache Cassandra
- Why Apache Kafka is so Fast?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.