• Register

Share:- Whatsapp Facebook Facebook

------------------------------------- Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

0 votes
6 views
Spring Boot basic annotations list
in Spring Boot by

1 Answer

0 votes

Spring boot Some of the most common basic annotations are following:-

  1. @EnableAutoConfiguration
  2. @SpringBootApplication
  3. @SpringBootConfiguration
  4. @SpringBootTest.


@EnableAutoConfiguration is used to enable auto-configuration on Spring Boot application. @SpringBootApplication is used on the main class to allow it to run a JAR  file. @SpringBootTest is used to run unit test on Spring Boot environment.

by (4.4k points)
...