Friday 15 July 2016

Install Apache Tomcat Server in Eclipse Development Environment (IDE)

Eclipse is a very powerful development environment for Java. Mainly for Web Development project you need Web Server. Apache Tomcat is the best production ready web container.
By default when you download Eclipse IDE, it doesn’t come with Tomcat install with it. In this tutorial we will go over all detailed steps to configure Apache Tomcat successfully in Eclipse environment.

Step-1

Download Apache Tomcat from this link. I’m using version 8.0.15.
Download Apache Tomcat 8.0.15

Step-2

Extract it to Document folder.
Apache Tomcat Directory on Mac OS X

Step-3

  • Open Eclipse Environment
  • Click on Servers Tab
  • Click on No servers are available. Click this link to create a new server...
  • Click Tomcat v8.0 Server and Next
Add tomcat server 8 to Eclipse

Step-4

Select Apache installation Directory and click Finish.
Eclipse New Server Addition Dialogue

Step-5

You should see Tomcat v8.0 Server at localhost [Stopped, Republish] under Servers tab. Double click on it verify HTTP ports information. By default HTTP port is 8080.
Apache Tomcat 8 HTTP Port 8080

Step-6

Now right click on Server and click Start.
Start Tomcat in Eclipse Environment
Console output:
It should be up and running on port 8080 and you could visit default page using URL: http://localhost:8080/

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home