Tuesday, 25 July 2017

Integrating Apache Tomcat Server with an Eclipse IDE

Requirement: In this post, I will demonstrate how to integrate Apache Tomcat Server with an Eclipse IDE. Before we start with this, I hope the setting of my previous post (Installation and Setup of Spring MVC Framework using an Eclipse IDE) is completed successfully.

Software required:
This is the continuation of my previous post (Installation and Setup of Spring MVC Framework using an Eclipse IDE). Now to integrate Apache Tomcat Server with an Eclipse IDE follow the steps as shown below.

Step 1: Click Windows à Show View à Others
Browse for Server and select Server à Click OK
This will open the Servers view as shown below.
Step 2: Click this link to create a new server à Expand Apache à Select Tomcat v9.0 Server. This we do to define a new server
Click Next.

Step 3: Provide the Tomcat installation directory path. This is  the path of the folder where we have downloaded and kept our Apache Tomcat Server as shown below.

The directory path in my case is C:\Users\Susanto\Desktop\Spring MVC\JARS\apache-tomcat-9.0.0.M22
Click Next. Shuttle MyFirstSpringMVCProject à Click Finish.
Thus, Server get added under our Project Explorer.
Step 4: Right Click MyFirstSpringMVCProject à Properties à Targeted Runtimes à Make sure the Apache Tomcat v9.0 is checked. à Click Apply à Click OK
Thus, the integration of Apache Tomcat Server with the Eclipse IDE is completed.

If you like the post, please comment, share the post and do like me on Facebook.

Thanks & Regards,
Susanto Paul