1.根据书上的要求加上依赖后,并不能实现实时更改内容
代码如下
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
错误提示
The managed version is 2.0.1.RELEASE The artifact is managed in org.springframework.boot:spring-boot-dependencies:2.0.1.RELEASE