中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

sbt assembly編譯打包時報: deduplicate: different file contents found in the following:

發布時間:2020-08-06 15:44:36 來源:網絡 閱讀:11849 作者:故新 欄目:建站服務器

參考文章:

http://blog.csdn.net/oopsoom/article/details/41318599

sbt  assembly編譯打包時報: deduplicate: different file contents found in the following:

[error] (marathon/*:assembly) deduplicate:different file contents found in the following:

[error] META-INF/aop.xml

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/kamon/kamon-core_2.11/0.6.7/kamon-core_2.11-0.6.7.jar:META-INF/aop.xml

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/kamon/kamon-scala_2.11/0.6.7/kamon-scala_2.11-0.6.7.jar:META-INF/aop.xml

[error] deduplicate: different filecontents found in the following:

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/netty/netty-handler/4.0.43.Final/netty-handler-4.0.43.Final.jar:META-INF/io.netty.versions.properties

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/netty/netty-common/4.0.43.Final/netty-common-4.0.43.Final.jar:META-INF/io.netty.versions.properties

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/netty/netty-buffer/4.0.43.Final/netty-buffer-4.0.43.Final.jar:META-INF/io.netty.versions.properties

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/netty/netty-codec-http/4.0.43.Final/netty-codec-http-4.0.43.Final.jar:META-INF/io.netty.versions.properties

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/netty/netty-transport/4.0.43.Final/netty-transport-4.0.43.Final.jar:META-INF/io.netty.versions.properties

[error]/root/.coursier/cache/v1/https/repo1.maven.org/maven2/io/netty/netty-codec/4.0.43.Final/netty-codec-4.0.43.Final.jar:META-INF/io.netty.versions.properties


紅色部分是沖突文件


解決措施:

    在marathon源碼的根目錄下

    在build.sbt文件或者assembly.sbt文件里添加以下內容:

sbt  assembly編譯打包時報: deduplicate: different file contents found in the following:

    根據上面報的異常,因此,這里添加了兩項內容。

    然后,重新運行

#sbt clean compile assembly

在運行過程中,會拋一個警告:

sbt  assembly編譯打包時報: deduplicate: different file contents found in the following:

不建議使用mergeStrategy關鍵字了

最終打包成功:

sbt  assembly編譯打包時報: deduplicate: different file contents found in the following:

 


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

江津市| 龙岩市| 连江县| 正安县| 静宁县| 犍为县| 龙门县| 铁岭市| 石嘴山市| 海丰县| 任丘市| 田东县| 塔城市| 大方县| 秦皇岛市| 大名县| 衡阳县| 乡城县| 大同市| 汾阳市| 龙海市| 南阳市| 仁化县| 陆丰市| 枣阳市| 平邑县| 新巴尔虎右旗| 廊坊市| 武强县| 赤峰市| 平陆县| 河东区| 甘德县| 宾川县| 通城县| 翼城县| 宝鸡市| 无棣县| 观塘区| 黎川县| 和田县|