|
@@ -3,14 +3,10 @@ package hello;
|
3
|
3
|
import java.util.Arrays;
|
4
|
4
|
|
5
|
5
|
import org.springframework.boot.SpringApplication;
|
6
|
|
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
6
|
+import org.springframework.boot.autoconfigure.SpringBootApplication;
|
7
|
7
|
import org.springframework.context.ApplicationContext;
|
8
|
|
-import org.springframework.context.annotation.ComponentScan;
|
9
|
|
-import org.springframework.context.annotation.Configuration;
|
10
|
8
|
|
11
|
|
-@Configuration
|
12
|
|
-@EnableAutoConfiguration
|
13
|
|
-@ComponentScan
|
|
9
|
+@SpringBootApplication
|
14
|
10
|
public class Application {
|
15
|
11
|
|
16
|
12
|
public static void main(String[] args) {
|