January 15, 2022

Creating new Spring MVC project

1) New Maven project

2) Add Maven archetype webapp

3) git init

4) Create repository on GitHub.com

5) make command from GitHub

6) Download Apache Tomcat server from https://tomcat.apache.org/ (.zip file)

7) Unzip file

8) Run -> Edit configuration ->

9) Ok -> Restart InlelliJ IDEA

10) Run -> Tomcat

11) If "apache tomcat error=13 permission denied" then

chmod a+x /path/to/tomcat/bin/catalina.sh

12) git add .

13) git commit -m 'run server'

14) git push

15) Add dependences to pom.xml

https://mvnrepository.com/

— Spring Core

— Spring Context

— Spring WEB

— Spring WEBMVC

— Thymeleaf - Spring5