Free Support Forum -

UnsatisfiedLinkError calling updateFields()


I’m using Aspose.Words for java Version 18.8 in a webapp and get a UnsatisfiedLinkError (see stacktrace below) when calling updateFields.


  • Windows 10
  • Tomcat 8.5.32
  • Java 1.8.0_171

Steps to reproduce:

  • Download the sample webapp project: (15.1 KB)
  • Build the maven project (or use (9.9 MB))
  • Copy war from target folder to Tomcat webapps folder
  • Start Tomcat
  • Open context in browser
  • Click “Generate” link (document is loaded, fields are updated, document is saved)
  • Open Tomcat manager and undeploy “testProject” (do not shut down the Tomcat server)
  • Add the same war to Tomcat webapps folder
  • Open context in browser
  • Click “Generate” link -> !!!UnsatisfiedLinkError!!!

The error cannot be reproduced with the version 18.7!

Ingo Gutzeit

java.lang.UnsatisfiedLinkError: Native Library C:\Programme\apache-tomcat-8.5.32\temp\WindowsNativeCall\WindowsNativeCall_x64.dll already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.load0(
at java.lang.System.load(
at asposewobfuscated.zz2Q.zzzR(Unknown Source)
at com.aspose.words.WindowsNativeCall.(Unknown Source)
at asposewobfuscated.zzA1.(Unknown Source)
at asposewobfuscated.zzC1.zzU(Unknown Source)
at asposewobfuscated.zzC2.zzQK(Unknown Source)
at asposewobfuscated.zzRF.zzZ(Unknown Source)
at asposewobfuscated.zzRZ.zzQN(Unknown Source)
at asposewobfuscated.zzRZ.zzS(Unknown Source)
at asposewobfuscated.zzRZ.zzT(Unknown Source)
at com.aspose.words.FontSettings.zzT(Unknown Source)
at com.aspose.words.zz97.zzR(Unknown Source)
at com.aspose.words.zz97.zzQ(Unknown Source)
at com.aspose.words.zz00.zzYJ(Unknown Source)
at com.aspose.words.zz8Z$zzZ.zzZX(Unknown Source)
at asposewobfuscated.zzCT.moveNext(Unknown Source)
at com.aspose.words.zz8Z.zzZ(Unknown Source)
at com.aspose.words.zzZ0G.zzZlX(Unknown Source)
at com.aspose.words.zzZ0G.zzX(Unknown Source)
at com.aspose.words.zz8Z.(Unknown Source)
at com.aspose.words.zzYXQ.zzZ(Unknown Source)
at com.aspose.words.zz8Y.moveNext(Unknown Source)
at com.aspose.words.zzZMT.zzZ(Unknown Source)
at com.aspose.words.Document.updatePageLayout(Unknown Source)
at com.aspose.words.zz4D.perform(Unknown Source)
at com.aspose.words.zz4E.zzM6(Unknown Source)
at com.aspose.words.zz1F.zzYZ(Unknown Source)
at com.aspose.words.zz1F.zzZ(Unknown Source)
at com.aspose.words.zz1F.zzZD(Unknown Source)
at com.aspose.words.Range.updateFields(Unknown Source)
at com.aspose.words.Document.updateFields(Unknown Source)
at com.test.testproject.TestServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.tomcat.websocket.server.WsFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.service(
at org.apache.coyote.AbstractProcessorLight.process(
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
at org.apache.tomcat.util.threads.TaskThread$


Thanks for your inquiry. We have tested the scenario using apache-tomcat-8.0.14 and have not found the shared issue. Could you please try latest version of Aspose.Words for Java 18.9 and let us know how it goes on your side? If you still face problem, please share the WAR file that contains the Aspose.Words for Java 18.9. We will investigate the issue on our side and provide you more information.


thanks for the quick response.
I have tested the issue with the latest tomcat 8.5 and Aspose.Words version.

Please execute the following steps to reproduce the error:
Prepare Tomcat:

  • Download the Tomcat 8.5.33 as zip archive (
  • Unzip Tomcat
  • Set system variables
    – Add CATALINA_HOME variable = path to Tomcat folder
    – Add JAVA_HOME variable = path to jdk
    – Add CATALINA_HOME and JAVA_HOME to variable “Path” (%CATALINA_HOME%\bin; %JAVA_HOME%\bin)
  • Change conf/tomcat-users.xml
    – Add the following tags before the end of the file (before </tomcat-users>)
    <role rolename=“manager-gui”/>
    <user username=“admin” password=“admin” roles=“manager-gui”/>

Test with Aspose.Words 18.9

Test with Aspose.Words 18.7

With the same Tomcat Aspose 18.7 is working and 18.8/18.9 are not working. It must be a bug in Aspose.Words. If you have any questions feel free to ask.

Ingo Gutzeit


Thanks for sharing the detail. We are setting up the environment as of yours and will test this scenario. We will get back to you soon.


Thanks for your patience. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSJAVA-1891. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Thanks for your help.

Hi @tahir.manzoor ,
the status of the issue WORDSJAVA-1891 is “Closed”. Has the bug been fixed?

Ingo Gutzeit


Thanks for your inquiry. Yes, this issue has been resolved and its fix will be available in next version of Aspose.Words i.e. 18.10. Hopefully, it will be published by the end of this week.

The issues you have found earlier (filed as WORDSJAVA-1891) have been fixed in this Aspose.Words for .NET 18.10 update and this Aspose.Words for Java 18.10 update.