ShamithaSIlva commented on issue #20:
URL: 
https://github.com/apache/tomcat-jakartaee-migration/issues/20#issuecomment-843006708


   > > Failed to migrate archive [xyz.war]. Using the "-zipInMemory" option may 
help.
   > > Exception in thread "main" java.util.zip.ZipException: duplicate entry: 
WEB-INF/classes/xyz_api_activityStreamXYZ_getActivityStreamData_gson$_run_closure1.class
   > > at java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)
   > > at 
org.apache.tomcat.jakartaee.Migration.migrateArchiveStreaming(Migration.java:228)
   > 
   > Ok, so it really means we're trying to add a duplicate entry in the zip 
(looked up in the JVM source). Do you also have problems with your war if you 
unpack it yourself, then migrate it with the tool using the defaults ? 
Generally trying to migrate compressed items is slower and riskier.
   > If you can end up providing a test war, it could help, the most likely is 
that its compression is likely a bit weird. How is it created ?
   
   Already extracted war worked. Thanks guys!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to