My Oracle Support Banner

Error: "...java.lang.ClassNotFoundException: ${databasePlatform}" Displays in the Browser After Attempting Login to Team Member Web (Doc ID 2100331.1)

Last updated on JULY 18, 2019

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.2.2.0 and later
Information in this document applies to any platform.

Symptoms

After entering the username and password for login to Team Member web, the following error is displayed in the browser:

ERROR
Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-7042] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.ValidationException Exception Description: Database platform class [${databasePlatform}] not found. Internal Exception: Exception [EclipseLink-3007] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.ConversionException Exception Description: The object [${databasePlatform}], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Ensure that the class [${databasePlatform}] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: ${databasePlatform}


STEPS
The issue can be reproduced at will with the following steps:

  1. Browse to Team Member website
  2. Enter username and password and attempt to login
  3. Note the error above which occurs

BUSINESS IMPACT
Due to this issue, users cannot use Team Member.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.