You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running into a problem in case that a lib exists in the .m2 and .ivy2 directory. The workaround is to delete the lib in one of the directories.
The exception:
[debug] Webapp resources directory: /e42/buildagent/work/b05723c0abf935c6/app/war
[debug] Embedding /e42/buildagent/work/b05723c0abf935c6/app/war/WEB-INF/web.xml -> /WEB-INF/web.xml
java.util.zip.ZipException: duplicate entry: WEB-INF/lib/org.apache.commons.commons-lang3-3.1.jar
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:233)
at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
at sbt.IO$.sbt$IO$$addFileEntry$1(IO.scala:445)
at sbt.IO$$anonfun$sbt$IO$$writeZip$2.apply(IO.scala:454)
at sbt.IO$$anonfun$sbt$IO$$writeZip$2.apply(IO.scala:454)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at sbt.IO$.sbt$IO$$writeZip(IO.scala:454)
at sbt.IO$$anonfun$archive$1.apply(IO.scala:410)
at sbt.IO$$anonfun$archive$1.apply(IO.scala:408)
at sbt.IO$$anonfun$withZipOutput$1.apply(IO.scala:498)
at sbt.IO$$anonfun$withZipOutput$1.apply(IO.scala:485)
at sbt.Using.apply(Using.scala:24)
at sbt.IO$.withZipOutput(IO.scala:485)
at sbt.IO$.archive(IO.scala:408)
at sbt.IO$.jar(IO.scala:392)
at com.github.play2war.plugin.Play2WarCommands$$anonfun$1.apply(Play2WarCommands.scala:219)
at com.github.play2war.plugin.Play2WarCommands$$anonfun$1.apply(Play2WarCommands.scala:50)
I don't have a glue. The build servers are also running maven builds. Thats why we have the jar in both directories. But i don't know why sbt puts the jar twice into the classpath.
We are running into a problem in case that a lib exists in the .m2 and .ivy2 directory. The workaround is to delete the lib in one of the directories.
The exception:
The debug trace of the war plugin:
The text was updated successfully, but these errors were encountered: