Free Support Forum -

Possible error in Aspose.Words.jar

I have found that there is file META-INF/services/java.nio.charset.spi.CharsetProvider in aspose.words.jdkXX.jar
which contains string

But there are no classes with such a name in any aspose’s jar file.

I suppose that is a reason why in some cases I get an error

Caused by: sun.misc.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider not found


Thanks for your request. Aspose.Words supports UTF7 encodings for reading/writing documents and this encoding is not natively supported by Java. Hence Aspose.Words implements its own charset and charset provider and it appears the class has somehow been left out or incorrectly linked into the final jar.

We will fix this issue asap. It will go into the scheduled 10.2 release at the end of June.

Best regards,

The issues you have found earlier (filed as WORDSJAVA-7) have been fixed in this .NET update and in this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.