Reference article:
http://blog.csdn.net/oopsoom/article/details/41318599
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/9E/6D/wKiom1mRDPnh2L49AAKa8r5-q1Y320.png-wh_500x0-wm_ 3-wmp_4-s_491852377.png "title=" 008.png "style=" Float:none; alt= "Wkiom1mrdpnh2l49aaka8r5-q1y320.png-wh_50"/>
[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
The red part is the conflicting file
Resolution:
in the root directory of the marathon source code
Add the following to the build.sbt file or the ASSEMBLY.SBT file:
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/9E/5C/wKioL1mRDPfSqekcAAFbXSQwiv0892.png-wh_500x0-wm_ 3-wmp_4-s_4104264364.png "style=" Float:none; "title=" 006.png "alt=" Wkiol1mrdpfsqekcaafbxsqwiv0892.png-wh_50 "/>
Based on the exception reported above, two things are added here.
Then, re-run
#sbt Clean Compile assembly
During the run, a warning is thrown:
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/9E/6D/wKiom1mRDPfxwSgAAAO8CAYwllM313.png-wh_500x0-wm_ 3-wmp_4-s_3838321799.png "title=" 005.png "style=" Float:none; alt= "Wkiom1mrdpfxwsgaaao8caywllm313.png-wh_50"/>
It is not recommended to use the Mergestrategy keyword.
Final Package Success:
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/9E/6E/wKiom1mRDc6y-kf7AACfb6ay3WY533.png-wh_500x0-wm_ 3-wmp_4-s_728109406.png "title=" 004.png "alt=" Wkiom1mrdc6y-kf7aacfb6ay3wy533.png-wh_50 "/>
This article is from the "Xej Distributed Studio" blog, so be sure to keep this source http://xingej.blog.51cto.com/7912529/1956036
SBT Assembly Compile Pack times: Deduplicate:different file contents found in the following: