|
|
@@ -80,15 +80,15 @@ In a project directory of your choosing, create the following subdirectory struc
|
|
80
|
80
|
<version>0.1.0</version>
|
|
81
|
81
|
|
|
82
|
82
|
<parent>
|
|
83
|
|
- <groupId>org.springframework.bootstrap</groupId>
|
|
84
|
|
- <artifactId>spring-bootstrap-starters</artifactId>
|
|
|
83
|
+ <groupId>org.springframework.zero</groupId>
|
|
|
84
|
+ <artifactId>spring-starter-parent</artifactId>
|
|
85
|
85
|
<version>0.5.0.BUILD-SNAPSHOT</version>
|
|
86
|
86
|
</parent>
|
|
87
|
87
|
|
|
88
|
88
|
<dependencies>
|
|
89
|
89
|
<dependency>
|
|
90
|
|
- <groupId>org.springframework.bootstrap</groupId>
|
|
91
|
|
- <artifactId>spring-bootstrap-web-starter</artifactId>
|
|
|
90
|
+ <groupId>org.springframework.zero</groupId>
|
|
|
91
|
+ <artifactId>spring-starter-web</artifactId>
|
|
92
|
92
|
</dependency>
|
|
93
|
93
|
<dependency>
|
|
94
|
94
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
@@ -225,8 +225,8 @@ Although it is possible to package this service as a traditional [WAR][u-war] fi
|
|
225
|
225
|
```java
|
|
226
|
226
|
package hello;
|
|
227
|
227
|
|
|
|
228
|
+import org.springframework.autoconfigure.EnableAutoConfiguration;
|
|
228
|
229
|
import org.springframework.bootstrap.SpringApplication;
|
|
229
|
|
-import org.springframework.bootstrap.context.annotation.EnableAutoConfiguration;
|
|
230
|
230
|
import org.springframework.context.annotation.ComponentScan;
|
|
231
|
231
|
|
|
232
|
232
|
@ComponentScan
|