0% found this document useful (0 votes)
2 views4 pages

Untitled design_20251206_163002_0000

The document outlines various Spring Boot Starter dependencies, including those for security, web applications, Thymeleaf, and testing, providing their respective code snippets. It also explains the concept of Auto Configuration in Spring Boot, which automatically configures applications based on added JAR dependencies. To enable this feature, the @EnableAutoConfiguration or @SpringBootApplication annotation must be used.

Uploaded by

bhanu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

Untitled design_20251206_163002_0000

The document outlines various Spring Boot Starter dependencies, including those for security, web applications, Thymeleaf, and testing, providing their respective code snippets. It also explains the concept of Auto Configuration in Spring Boot, which automatically configures applications based on added JAR dependencies. To enable this feature, the @EnableAutoConfiguration or @SpringBootApplication annotation must be used.

Uploaded by

bhanu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like