From 461f508cc6498d92c658abca0775d2d50a78cf2e Mon Sep 17 00:00:00 2001 From: ggerard Date: Mon, 5 Aug 2013 18:30:04 -0700 Subject: [PATCH] Fix syntax error and package import error. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3a2e768cdc3..de405c397bc 100644 --- a/README.md +++ b/README.md @@ -125,24 +125,22 @@ calls `SpringApplication` and add `@EnableAutoConfiguration`, e.g: ```java import org.springframework.boot.*; -import org.springframework.boot.autoconfiguration.*; +import org.springframework.boot.autoconfigure.*; import org.springframework.stereotype.*; import org.springframework.web.bind.annotation.*; @Controller @EnableAutoConfiguration public class SampleController { - @RequestMapping("/") @ResponseBody String home() { - return "Hello World!" + return "Hello World!"; } public static void main(String[] args) throws Exception { SpringApplication.run(SampleController.class, args); } - } ```