Setup Spring Environment

Last Updated on: January 5, 2021 pm

Setup Spring Environment

1. Install Tomcat9.0

Download Tomcat9.0 from here.

Install Tomcat

Start Server

cd /tomcat && bin/startup.sh

Shutdown Server

cd /tomcat && bin/shutdown.sh

2. Install IntelliJ IDEA

3. Connect Tomcat to IntelliJ IDEA

  1. Open Preference.

  2. Click on Build, Execution, Deployment

    Connect Tomcat to Idea

  3. Choose Tomcat Server

  4. Select the path of downloaded Tomcat Server.

  5. Done.

4. Download Spring 5 JAR Files

  1. Create a project.
  2. Choose Spring and click on Next.

Create a Spring Project

  1. Select the project path and click on Finish.

Reference: Udemy, Spring & Hibernate for Beginners (including SpringBoot)