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

Free Support Forum - aspose.com

Aspose.Pdf for Java 4.4 CharsetProvider Exception


When we try to load the jar into our classpath, we get the following stacktrace:

java.util.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.aspose.ms.charsets.iso_8859_8.CharsetProvider not found
at java.util.ServiceLoader.fail(ServiceLoader.java:231)
at java.util.ServiceLoader.access$300(ServiceLoader.java:181)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:365)
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
at java.nio.charset.Charset$1.getNext(Charset.java:357)
at java.nio.charset.Charset$1.hasNext(Charset.java:370)
at java.nio.charset.Charset$2.run(Charset.java:413)
at java.nio.charset.Charset$2.run(Charset.java:411)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.lookupViaProviders(Charset.java:410)
at java.nio.charset.Charset.lookup2(Charset.java:480)
at java.nio.charset.Charset.lookup(Charset.java:468)
at java.nio.charset.Charset.forName(Charset.java:533)
at wt.log4j.jmx.AsyncJDBCAppender.getCharset(AsyncJDBCAppender.java:891)

This looks similar to Provider com.aspose.ms.charsets.utf7.UTF7CharsetProvider not found

You are using quite an old version of the Aspose.Pdf for Java API and we do not provide fix in the old code base. Please download and try the latest version 17.9 of Aspose.Pdf for Java API, and then let us know how that goes into your environment.

Thank you. Can you please give me the download link that is valid for subscription expiry 20140426? (the version that was released immediately prior to that date)

The version 9.1.0 is the latest which comes in your license subscription. Please refer to the download link: Aspose.Pdf for Java 9.0.0. It is quite an old version and we recommend our clients use the latest version 17.10 as it incorporates the new features, enhancements and bug fixes.