I am trying to upgrade aspose.words from version 11.4.0 to 15.10.0. I downloaded the latest license from my aspose account, as well as the jar file for aspose.words for java v15.10.0. But, when I try to use it to remove the watermark from documents, server throws the following exception:
HTTP Status 500 - Servlet execution threw an exception
type Exception report
message Servlet execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
asposewobfuscated.zz92.zzI1(Unknown Source)
asposewobfuscated.zzKR.zzI1(Unknown Source)
com.aspose.words.zzZOD.zzX(Unknown Source)
com.aspose.words.License.setLicense(Unknown Source)
dataService.document.Document.doc2pdf(Document.java:836)
au.com.mercury.servlets.SendFileServlet.doGet(SendFileServlet.java:54)
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.56 logs.