We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Duplicate classes in Aspose.Cells Java com.aspose.cells make an error with a JavaWebStart application


I'm using Aspose.cells for Java in a JavaWebStart application.

JavaWebStart has to unzip the contents of the reference librairies, and in the aspose-cells librairy, in the package com.aspose.cells, there are a lot of duplicate classes, like aa.class and aA.class etc...

And when JavaWebStart extract this librairy, or when I try to sign my JAR with jarsigner, I get this error :

java.util.zip.ZipException: dupllicate entry for: com/aspose/cells/a.class

the same kind of error appears when you manually extract aspose-cells.jar.

Why are there so many classes with the same name?

Are they all used?

And is there a way to avoid this error?

Thank you



I think you might be re-packaging or extracting classes in the jars. I think your JavaWebStart might not recognize different classes with the same characters but different letter cases. Such as a.class and A.class. By Java’s specification, they should be two different classes and should work together, no problem for that.

Could you try some other servers, e.g you may try to upgrade to JBoss 6.1 final which will work fine for such situations as we have tested it a bit.

Anyways, we will also look into it and get back to you in early next week.

Thank you.