"NoClassDefFoundError: oracle/ucp/jdbc/PoolDataSourceFactory" Error While Compiling SOA 12.2.1.2.0 compsoite using Maven

(Doc ID 2293757.1)

Last updated on AUGUST 23, 2017

Applies to:

Oracle SOA Suite - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.2.0 version, Fabric

MDS error while compiling SOA 12.2.1.2.0 using maven

Issues deploying SOA component (12.2.1.2.0) using maven as it is failing out with MDS error mentioned below.

ERROR
-----------------------

[exec] MDS-01329: unable to load element "persistence-config"
[exec] MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
[exec] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.
[exec] java.lang.NoClassDefFoundError: oracle.ucp.jdbc.PoolDataSourceFactory
[exec] java.lang.ClassNotFoundException: oracle.ucp.jdbc.PoolDataSourceFactory
[exec] : MDS-01330: unable to load MDS configuration document
[exec] MDS-01329: unable to load element "persistence-config"
[exec] MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
[exec] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.
[exec] java.lang.NoClassDefFoundError: oracle.ucp.jdbc.PoolDataSourceFactory
[exec] java.lang.ClassNotFoundException: oracle.ucp.jdbc.PoolDataSourceFactory
[exec] : oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
[exec] MDS-01329: unable to load element "persistence-config"
[exec] MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
[exec] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.
[exec] java.lang.NoClassDefFoundError: oracle.ucp.jdbc.PoolDataSourceFactory
[exec] java.lang.ClassNotFoundException: oracle.ucp.jdbc.PoolDataSourceFactory
[exec] : MDS-01330: unable to load MDS configuration document
[exec] MDS-01329: unable to load element "persistence-config"
[exec] MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms