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

1 Answer

0 votes
by (4.7k points)

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.

Share:- Whatsapp Facebook Facebook


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

Categories

...