SO , I got a workaround to solve this .. added exclude "META-INF/LICENSE" to my gradle file after checking the stack trace for the exception caused.
If nyone has faced similar situation and has a better solution , please let me know. Thanks Ankur On Wed, Oct 14, 2015 at 5:59 PM, Ankur Garg <[email protected]> wrote: > Hi , > > I have set up a single node cluster and trying to deploy my sample > topology to it . > > I believe to deploy my topology to cluster I have to submit the jar with > all dependencies to the Cluster . > > For that I created a sample project and added a simple topology to it . > > While generating the fat jar using gradle I am seeing this error > > gradle fatjar gives below error > > Could not expand ZIP > '/Users/agarg/.gradle/caches/modules-2/files-2.1/org.apache.storm/storm-core/0.9.5/d2bf27db853347dcf66990b4514db20a7897303e/storm-core-0.9.5.jar'. > > > Could not copy zip entry > /Users/agarg/.gradle/caches/modules-2/files-2.1/org.apache.storm/storm-core/0.9.5/d2bf27db853347dcf66990b4514db20a7897303e/storm-core-0.9.5.jar!META-INF/license/LICENSE.base64.txt > to > '/Users/agarg/Documents/notificationRepo/sample/build/tmp/expandedArchives/storm-core-0.9.5.jar_366us3312tpl54tci2fld83fij/META-INF/license/LICENSE.base64.txt'. > > > I am attaching my build.gradle with this mail . > > > Can anyone help please. >
