文章目录
- 插件
- 问题
- 解决过程
在面试中解决问题的能力和思路是考察的重点,面试官问会问我们有没有解决过maven冲突。以下造了一个maven冲突,手把手教学如何解决Maven冲突。
插件
插件在idea插件中搜索Maven Helper
问题



解决过程
根据上面日志知道是log4j冲突了,找到其中一个pom文件,点击打开

找到需要移除的依赖,右键点击Exclude

上述操作后,插件会自动添加移除依赖的代码,如下:
<exclusions>
<exclusion>
<artifactId>spring-boot-starter-logging</artifactId>
<groupId>org.springframework.boot</groupId>
</exclusion>
</exclusions>




![BUUCTF-----[SWPU2019]Web1](https://img-blog.csdnimg.cn/direct/ff2ee803261640cb925d99013243926f.png)













