From 40ae0e3cccacc7dad256507d2014a79b110ee957 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sat, 16 May 2015 10:15:35 +0800 Subject: [PATCH] Update 18. Using the @SpringBootApplication annotation.md --- .../18. Using the @SpringBootApplication annotation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/III. Using Spring Boot/18. Using the @SpringBootApplication annotation.md b/III. Using Spring Boot/18. Using the @SpringBootApplication annotation.md index f02dc35..c1b68bf 100644 --- a/III. Using Spring Boot/18. Using the @SpringBootApplication annotation.md +++ b/III. Using Spring Boot/18. Using the @SpringBootApplication annotation.md @@ -1,6 +1,6 @@ ### 18. 使用@SpringBootApplication注解 -很多Spring Boot开发者总是使用`@Configuration`,`@EnableAutoConfiguration`和`@ComponentScan`注解他们的main类。由于这些注解被如此频繁地一块使用(特别是你遵循以上[最佳实践](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#using-boot-structuring-your-code)时),Spring Boot提供一个方便的`@SpringBootApplication`选择。 +很多Spring Boot开发者总是使用`@Configuration`,`@EnableAutoConfiguration`和`@ComponentScan`注解他们的main类。由于这些注解被如此频繁地一块使用(特别是你遵循以上[最佳实践](14. Structuring your code.md)时),Spring Boot提供一个方便的`@SpringBootApplication`选择。 该`@SpringBootApplication`注解等价于以默认属性使用`@Configuration`,`@EnableAutoConfiguration`和`@ComponentScan`。 ```java