anchor.diff:  ----
   
   The `Application.java` file would declare the `main` method, along with the basic
  -`@Configuration`.
  +`@SpringBootApplication`.
   
   [source,java,indent=0]
   ----
   	package com.example.myproject;
   
   	import org.springframework.boot.SpringApplication;
  -	import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
  -	import org.springframework.context.annotation.ComponentScan;
  -	import org.springframework.context.annotation.Configuration;
  -
  -	@Configuration
  -	@EnableAutoConfiguration
  -	@ComponentScan
  +	import org.springframework.boot.autoconfigure.SpringBootApplication
  +
  +	@SpringBootApplication
   	public class Application {
   
   		public static void main(String[] args) {
  
positive.code: You need to opt-in to auto-configuration by adding the `@EnableAutoConfiguration` or
  `@SpringBootApplication` annotations to one of your `@Configuration` classes.
  
  TIP: You should only ever add one `@EnableAutoConfiguration` annotation. We generally
  recommend that you add it to your primary `@Configuration` class.
  
  
  
  
negative.code: 
  [[using-boot-using-springbootapplication-annotation]]
  == Using the @SpringBootApplication annotation
  Many Spring Boot developers like their apps to use auto-configuration, component scan and
  be able to define extra configuration on their "application class". A single
  `@SpringBootApplication` annotation can be used to enable those tree features, that is:
  
  * `@EnableAutoConfiguration`: enable <<using-boot-auto-configuration,Spring Boot's
  auto-configuration mechanism>>
  * `@ComponentScan`: enable `@Component` scan on the package where the application is
  located (see <<using-boot-structuring-your-code,the best practices>>)
  * `@Configuration`: allow to register extra beans in the context or import additional
  configuration classes
  
  The `@SpringBootApplication` annotation is equivalent to using `@Configuration`,
  `@EnableAutoConfiguration` and `@ComponentScan` with their default attributes:
  