由于引入冲突导致,排出冲突即可代码如下
<dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>${project.parent.artifactId}-</artifactId> <version>${project.parent.version}</version> <exclusions> <!--这里排出有冲突的应用 防止maven报 system omitted for duplicate--> <exclusion> <groupId>com.xx.xx</groupId> <artifactId>xx-xx</artifactId> </exclusion> <exclusion> <groupId>xxx.xxx.xx</groupId> <artifactId>xx-xx-xx</artifactId> </exclusion> </exclusions> </dependency>
你好世界!