Spring Boot Starter Security
dependency is used for Spring
Security. Its code is shown
below:
<dependency>
<groupId>org.springframework.boo
t</groupId>
<artifactId>spring-boot-starter-
security</artifactId>
</dependency>
Spring Boot Starter web dependency
is used to write a Rest Endpoints. Its
code is
shown below:
<dependency>
<groupId>org.springframework.boo
t</groupId>
<artifactId>spring-boot-starter-
web</artifactId>
</dependency>
Spring Boot Starter Thyme Leaf
dependency is used to create a web
application. Its
code is shown below:
<dependency>
<groupId>org.springframework.boo
t</groupId>
<artifactId>spring-boot-starter-
thymeleaf</artifactId>
</dependency>
Spring Boot Starter Test
dependency is used for writing Test
cases. Its code is shown
below:
<dependency>
<groupId>org.springframework.boo
t</groupId>
<artifactId>spring-boot-starter-
test</artifactId>
</dependency>
Auto Configuration
Spring Boot Auto Configuration
automatically configures your
Spring application based on
the JAR dependencies you added in
the project. For example, if MySQL
database is on your
class path, but you have not
configured any database connection,
then Spring Boot autoconfigures an
in-memory database.
For this purpose, you need to add
@EnableAutoConfiguration
annotation or
@SpringBootApplication annotation
to your ma