|
|
|
@ -38,7 +38,7 @@ Here is a quick teaser of a complete Spring Boot application in Java:
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
|
@EnableAutoConfiguration
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
public class Example {
|
|
|
|
|
|
|
|
|
|
@RequestMapping("/")
|
|
|
|
@ -102,7 +102,7 @@ Boot applications can run on Java 1.6).
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
If you want to build with the regular `mvn` command, you will need
|
|
|
|
|
http://maven.apache.org/run-maven/index.html[Maven v3.0.5 or above].
|
|
|
|
|
http://maven.apache.org/run-maven/index.html[Maven v3.2.1 or above].
|
|
|
|
|
|
|
|
|
|
NOTE: You may need to increase the amount of memory available to Maven by setting
|
|
|
|
|
a `MAVEN_OPTS` environment variable with the value `-Xmx512m`. Remember
|
|
|
|
|