瀏覽代碼

Update README.adoc

Fix typo
amz 12 年之前
父節點
當前提交
52680f02b7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      README.adoc

+ 1
- 1
README.adoc 查看文件

@@ -73,7 +73,7 @@ include::initial/src/main/java/hello/Application.java[]
73 73
 - `@Configuration` tags the class as a source of bean definitions for the application context.
74 74
 - `@EnableAutoConfiguration` tells Spring Boot to start adding beans based on classpath settings, other beans, and various property settings.
75 75
 - Normally you would add `@EnableWebMvc` for a Spring MVC app, but Spring Boot adds it automatically when it sees **spring-webmvc** on the classpath. This flags the application as a web application and activates key behaviors such as setting up a `DispatcherServlet`.
76
-- `@ComponentScanning` tells Spring to look for other components, configurations, and services in the the `hello` package, allowing it to find the `HelloController`.
76
+- `@ComponentScan` tells Spring to look for other components, configurations, and services in the the `hello` package, allowing it to find the `HelloController`.
77 77
 
78 78
 The `main()` method uses Spring Boot's `SpringApplication.run()` method to launch an application. Did you notice that there wasn't a single line of XML? No **web.xml** file either. This web application is 100% pure Java and you didn't have to deal with configuring any plumbing or infrastructure.
79 79