javax.servlet.ServletException: tried to access class org.apache.xml.serializer.ExtendedContentHandler

Last Published: April 25, 2020

Error Message

When the View Details or the View All Metadata button is clicked, the GIS Portal Toolkit (GPT) displays the following error message:

"javax.servlet.ServletException: tried to access class org.apache.xml.serializer.ExtendedContentHandler
from class org.apache.xalan.transformer.TransformerImpl

The GPT global.log logs following error:

ERROR  [TP-Processor2] [/Portal].[jsp] (invoke:704) - Servlet.service() for servlet jsp 
threw exception java.lang.IllegalAccessError: tried to access class


The serializer.jar is a third-party library file that was required in previous versions of the GPT. At GPT 3.1, it is no longer needed and can, in some cases, interfere with the newest versions of the Xalan and Xerces parsers.

Solution or Workaround

The serializer.jar file is most likely interfering with the XML parsing. Removing it should resolve the problem.

  1. In a directory browser like Windows Explorer or command prompt in Unix environments, navigate to the <Tomcat Install Dir>\Portal\WEB-INF\lib directory.
  2. Delete the serializer.jar file.
  3. Using the Tomcat Manager, restart the Portal application or restart all of Tomcat, if doing so will not interfere with performance or functionality of the system.

Article ID:000009648

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic