北九二七 2021-12-24 11:00 采纳率: 100%
浏览 59
已结题

Maven依赖冲突无法解决

maven项目可以正常启动,但一种包jar包重复!!我尝试了各种方法,删掉仓库,排除依赖,利用maven helpe工具,都没有解决掉这个问题,每次启动还是会报,这让拥有强迫症的我十分难受,哪位仙人帮助解决一下!!十分感谢

io.netty.util.internal.shaded.org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueuePad1 scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueuePad1.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueuePad1.class
io.netty.channel.socket.oio.OioSocketChannelConfig scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/channel/socket/oio/OioSocketChannelConfig.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-transport/4.1.16.Final/netty-transport-4.1.16.Final.jar!/io/netty/channel/socket/oio/OioSocketChannelConfig.class
io.netty.util.internal.shaded.org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueuePad2 scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueuePad2.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueuePad2.class
io.netty.handler.codec.spdy.SpdySessionHandler$1 scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/handler/codec/spdy/SpdySessionHandler$1.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-codec-http/4.1.16.Final/netty-codec-http-4.1.16.Final.jar!/io/netty/handler/codec/spdy/SpdySessionHandler$1.class
io.netty.util.internal.shaded.org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueuePad3 scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueuePad3.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueuePad3.class
io.netty.handler.codec.spdy.SpdySessionHandler$2 scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/handler/codec/spdy/SpdySessionHandler$2.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-codec-http/4.1.16.Final/netty-codec-http-4.1.16.Final.jar!/io/netty/handler/codec/spdy/SpdySessionHandler$2.class
io.netty.util.internal.shaded.org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueueProducerFields scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueueProducerFields.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar!/io/netty/util/internal/shaded/org/jctools/queues/atomic/BaseMpscLinkedAtomicArrayQueueProducerFields.class
io.netty.handler.codec.spdy.SpdySessionHandler$3 scanned from multiple locations: jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar!/io/netty/handler/codec/spdy/SpdySessionHandler$3.class, jar:file:///E:/kiafaruanjian/maven/repository/io/netty/netty-codec-http/4.1.16.Final/netty-codec-http-4.1.16.Final.jar!/io/netty/handler/codec/spdy/SpdySessionHandler$3.class

  • 写回答

5条回答 默认 最新

  • konmor 2021-12-25 11:13
    关注

    我遇到过这种情况。
    处理办法是:
    1.把代码提交到自己分支上,然后建一个新文件夹重新拉这个代码
    2.新建本地maven仓库,上面的代码用最新的代码仓库,重新maven reimport。这一步可能会花时间,但是会解决问题。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论 编辑记录
查看更多回答(4条)

报告相同问题?

问题事件

  • 系统已结题 1月6日
  • 已采纳回答 12月29日
  • 创建了问题 12月24日

悬赏问题

  • ¥15 换yum源但仍然用不了httpd
  • ¥50 C# 使用DEVMOD设置打印机首选项
  • ¥15 麒麟V10 arm安装gdal
  • ¥15 想用@vueuse 把项目动态改成深色主题,localStorge里面的vueuse-color-scheme一开始就给我改成了dark,不知道什么原因(相关搜索:背景颜色)
  • ¥20 OPENVPN连接问题
  • ¥15 flask实现搜索框访问数据库
  • ¥15 mrk3399刷完安卓11后投屏调试只能显示一个设备
  • ¥100 如何用js写一个游戏云存档
  • ¥15 ansys fluent计算闪退
  • ¥15 有关wireshark抓包的问题