Error Deploying OrgChartApplication.ear java.lang.AssertionError: plan xpath defines an element [context-param] that is not valid! java.lang.IllegalArgumentException: VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: (Doc ID 1622592.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Human Resources - Version 12.1 HRMS RUP6 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.2 version, Orgs,Jobs,Locs,Positions etc

When attempting to follow the document Configuring and Deploying Organization Chart., the following error occur when attempting to redeploy the ear file


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

java.lang.AssertionError: plan xpath defines an element [context-param] that is not valid!

and

An error occurred during activation of changes, please see the log for details.
java.lang.IllegalArgumentException: VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'version@http://xmlns.oracle.com/weblogic/deployment-plan variable-definition@http://xmlns.oracle.com/weblogic/deployment-plan module-override@http://xmlns.oracle.com/weblogic/deployment-plan config-root@http://xmlns.oracle.com/weblogic/deployment-plan' instead of 'application-name@http://xmlns.oracle.com/weblogic/deployment-plan' here in element deployment-plan@http://xmlns.oracle.com/weblogic/deployment-plan:<null>
VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'version@http://xmlns.oracle.com/weblogic/deployment-plan variable-definition@http://xmlns.oracle.com/weblogic/deployment-plan module-override@http://xmlns.oracle.com/weblogic/deployment-plan config-root@http://xmlns.oracle.com/weblogic/deployment-plan' instead of 'application-name@http://xmlns.oracle.com/weblogic/deployment-plan' here in element deployment-plan@http://xmlns.oracle.com/weblogic/deployment-plan:<null>


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Attempt to deploy OrgChartApplication.ear
2. Error occurs

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, the deployment cannot be completed for Organization Chart and must be available in a week.

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