如果pom已经继承了另外一个模块,不能在继承springboot的parent的时候可以这样解决
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>2.0.0.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency>
如果pom已经继承了另外一个模块,不能在继承springboot的parent的时候可以这样解决
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>2.0.0.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency>
原文:https://www.cnblogs.com/ldwnana/p/8536961.html