Structure of a Spring Application

Learn the basic structure of a Spring application.

Let’s look at the basic structure of a Spring application and interpret its individual files.

Press + to interact
|-- mvn
|-- mvnw
|-- mvnw.cmd
|-- pom.xml
|-- src
| |-- main
| | |-- java
| | | `-- com
| | | `-- tamingthymeleaf
| | | `-- application
`-- TamingThymeleafApplication.java
| | `-- resources
`-- application.properties
| | `-- templates
| `-- test
| `-- java
| `-- com
| `-- tamingthymeleaf
| `-- application
`-- TamingThymeleafApplicationTests.java

Description of the files

  1. The .mvn folder is a hidden folder by default. It allows Maven to be run without being installed.
  2. The Maven project file pom.xml is the core file that is configured with the selected dependencies and the springboot-maven-plugin to generate the
...