Provider org.apache.xpath.jaxp.XPathFactoryImpl not found

Hi all,

I am trying to build a Jira plugin. But after I built it successfully and started a Jira service/uploaded to an existing Jira service, the following error occurred in both environment. And I’ve looked for some answers but haven’t found some helpful suggestions. Could you kindly please help me on this issue?

An unexpected error occurred. Please check your atlassian-jira.log for more
information<br/>java.lang.RuntimeException: XPathFactory#newInstance() failed to create an
XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the
XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException:
java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: Provider
org.apache.xpath.jaxp.XPathFactoryImpl not found

Regards,
Yaoqi Huang

I have also encountered errors trying to use XPath inside Jira. java - XPathFactoryImpl not found error (using myBatis) - Stack Overflow was somewhat helpful, though I’ve had trouble getting something that works across JVM implementations.