利用Spring starter Project创建的springboot @SpringBootApplication无法引入问题

pom中spring-boot-starter-parent版本原2.0.1,改成1.4.2就好了

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

posted @ 2018-04-23 09:42  wxxwjef  阅读(199)  评论(0编辑  收藏  举报