MuleSoft · Database Connector

XML-24509: Duplicated definition

Short answer

XML-24509 Duplicated definition is an XML parsing error that appears when a Mule app uses Oracle XML extensions with Database Connector. Add xmlparserv2.jar as a plugin dependency, or point the JAXP factories at the Xerces implementation.

VerifiedLast verified

01Error text

MuleSoft error
XML-24509: (Error) Duplicated definition for...

02Likely causes

  • The app uses Oracle XML extensions, and the Oracle XML parser conflicts with XML parsing in the application.

03How to fix it

  1. Add xmlparserv2.jar as a plugin dependency.
  2. Or set the system properties javax.xml.parsers.SAXParserFactory and javax.xml.parsers.DocumentBuilderFactory to the Xerces implementation classes.
  3. Redeploy the app.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.