Spring Boot 0.0.9.M1 Reference GuideWriting the code The @RestController and @RequestMapping annotations The @EnableAutoConfiguration annotation The "main" method Running the example Creating Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.; import org.springframework.web.bind.annotation.; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 323 页 | 301.58 KB | 2 年前3
Spring Boot 3.2.3-SNAPSHOT Reference Documentation systems: Maven | Gradle | Ant | Starters • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code: IDE | Packaged | Maven | Gradle • @SpringBootConfiguration, @EnableAutoConfiguration and @ComponentScan. Of those, the annotation we're most interested in here is @EnableAutoConfiguration. @EnableAutoConfiguration tells Spring Boot to "guess" apply only on your project. TIP If you do not want to use @SpringBootApplication, the @EnableAutoConfiguration and @ComponentScan annotations that it imports defines that behavior so you can also use0 码力 | 975 页 | 17.43 MB | 2 年前3
Spring Boot 1.0.3.BUILD-SNAPSHOT Reference DocumentationWriting the code The @RestController and @RequestMapping annotations The @EnableAutoConfiguration annotation The "main" method Running the example Creating Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.; import org.springframework.web.bind.annotation.; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 268 页 | 262.21 KB | 2 年前3
Spring Boot 1.0.3.BUILD-SNAPSHOT Reference Documentation code ..... 18 The @RestController and @RequestMapping annotations ..... 18 The @EnableAutoConfiguration annotation ..... 18 The "main" method ..... 19 10.4. Running the example Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.*; import org.springframework.web.bind.annotation.*; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return0 码力 | 158 页 | 847.06 KB | 2 年前3
Spring Boot 1.1.7.RELEASE Reference GuideWriting the code The @RestController and @RequestMapping annotations The @EnableAutoConfiguration annotation The "main" method Running the example Creating Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.; import org.springframework.web.bind.annotation.; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 323 页 | 302.48 KB | 2 年前3
Spring Boot 0.0.9.M1 Reference Guidecode ..... 17 The @RestController and @RequestMapping annotations ..... 18 The @EnableAutoConfiguration annotation ..... 18 The "main" method ..... 18 10.4. Running the example Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.*; import org.springframework.web.bind.annotation.*; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 188 页 | 1007.46 KB | 2 年前3
Spring Boot 1.1.9.RELEASE Reference Guidecode ..... 17 The @RestController and @RequestMapping annotations ..... 18 The @EnableAutoConfiguration annotation ..... 18 The "main" method ..... 18 10.4. Running the example Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.*; import org.springframework.web.bind.annotation.*; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 193 页 | 1.00 MB | 2 年前3
Spring Boot 1.1.9.RELEASE Reference GuideWriting the code The @RestController and @RequestMapping annotations The @EnableAutoConfiguration annotation The "main" method Running the example Creating Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.; import org.springframework.web.bind.annotation.; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 326 页 | 305.24 KB | 2 年前3
Spring Boot 0.0.x Reference GuideWriting the code The @RestController and @RequestMapping annotations The @EnableAutoConfiguration annotation The "main" method Running the example Creating Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.; import org.springframework.web.bind.annotation.; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 322 页 | 301.63 KB | 2 年前3
Spring Boot 1.1.6.RELEASE Reference GuideWriting the code The @RestController and @RequestMapping annotations The @EnableAutoConfiguration annotation The "main" method Running the example Creating Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency Injection • Running your code IDE | Packaged | Maven | Gradle • springframework.stereotype.; import org.springframework.web.bind.annotation.; @RestController @EnableAutoConfiguration public class Example { @RequestMapping("/") String home() { return "Hello0 码力 | 321 页 | 300.93 KB | 2 年前3
共 209 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21













