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

Free Support Forum - aspose.com

Problem with bundle version

Hi,


In your jar-s for Aspose.Cells-7.1.1 you have "stax2-api-3.0.2.jar " and “woodstox-core-asl-4.1.1.jar” which I use. When I build project and use OSGi, I have a problem like this:

"References are not resolved. Bundle version of exported packages from bundle “stax2” is lower then required version of imported packages in "woodstox"

reference:file:/home/emisia/workspace-wf/transstudio4/target/target-platform/com.woodstox-4.1.1-gs4tr.jar [20]
Direct constraints which are unresolved:
Missing dynamically imported package com.sun.msv.*_0.0.0.
Missing dynamically imported package org.relaxng.datatype_0.0.0.
Missing imported package org.codehaus.stax2_3.1.1.
Missing imported package org.codehaus.stax2.io_3.1.1.
Missing imported package org.codehaus.stax2.osgi_3.1.1.
Missing imported package org.codehaus.stax2.ri_3.1.1.
Missing imported package org.codehaus.stax2.ri.dom_3.1.1.
Missing imported package org.codehaus.stax2.ri.evt_3.1.1.
Missing imported package org.codehaus.stax2.ri.typed_3.1.1.
Missing imported package org.codehaus.stax2.typed_3.1.1.
Missing imported package org.codehaus.stax2.validation_3.1.1.

Can you fix this in next release?

Thanks,
Bojan

Hi,

Thanks for your posting and using Aspose.Cells for Java.

Please remove the duplicate from either side. If the problem does not resolved, then use the one which is provided by Aspose.Cells for Java zip download.

Thanks,


but, problem is that in “woodstox-core-asl-4.1.1.jar” in MANIFEST.MF is this properties :

“org.codehaus.stax2;version=“3.1.1”,org.codehaus.stax2.io;version=
“3.1.1”,org.codehaus.stax2.osgi;version=“3.1.1”,org.codehaus.stax2.ri
;version=“3.1.1”,org.codehaus.stax2.ri.dom;version=“3.1.1”,org.codeha
us.stax2.ri.evt;version=“3.1.1”,org.codehaus.stax2.ri.typed;version=”
3.1.1",org.codehaus.stax2.typed;version=“3.1.1”,org.codehaus.stax2.va
lidation;version="3.1.1"

than mean I need stax2-api VERSION 3.1.1 but Aspose.Cells for java have a stax2-api-3.0.2.jar, so change MANIFEST.MF or version of stax2 jar?

Best regards,
Bojan

This is in “import packages” in MANIFEST.MF

Hi,

Now that the woodstox version required by your bundle is newer than cells component needed, we think you can try replacing the “woodstox-core-asl-4.1.1.jar” with the new version you required. If the new version is backward compatible, it should also work fine with aspose.cells.