Support Article
CPM 7.1.3 upgrade error: java.lang.NoSuchMethodError
SA-7806
Summary
When running the upgrade from CPM 6.3 to CPM 7.1.3, the upgrade script to generate and apply schema changes fails with the below error.
Error Messages
java.lang.NoSuchMethodError: com/pega/pegarules/util/deploy/JDBCUtils.tryConnection(Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;)V
BUILD FAILED
/apps/Pega7/CPM713/cpmDDL/scripts/setupDatabase.xml:218: The following error occurred while executing this line:
/apps/Pega7/CPM713/cpmDDL/scripts/setupDatabase.xml:978: java.lang.NoSuchMethodError: com/pega/pegarules/util/deploy/JDBCUtils.tryConnection(Ljava/lang/String;Ljava/util/Properties;Ljava/lang/String;)V
Steps to Reproduce
1) Unzip 114696_CPM713.zip.
2) Modify setupDatabase.properties to run with DB2.
3) Run ./upgrade.sh #
Root Cause
The root cause of this problem is a defect in Pega’s code or rules.
Resolution
Run the generateddl script as specified in the CPM guide and database administrator must apply the schema changes.
Published March 21, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.