Question
Areteans Technology Solutions
IN
Last activity: 31 May 2023 23:08 EDT
Pega 8.8.2 - Error kotlin.NoWhenBranchMatchedException received when deploying prreadstream.jar on DB2
I created the file udfdeploy.properties with the below lines in the udf folder:
udb.jdbc.class=com.ibm.db2.jcc.DB2Driver
pega.udb.url=jdbc:db2://172.40.130.101:50000/pegadb
pega.udb.username=pegaadmin
pega.udb.password=password_of_pegaadmin
pega.udb.schema=pegadata
Also I kept the below files inside the udf folder:
- db2jcc4.jar
- prdeploy.jar
- prreadstream.jar
Created a folder named logs inside the udf folder.
I ran the below command:
java -cp "prdeploy.jar:db2jcc4.jar" com.pega.pegarules.install.DatabaseLibraryLoader --config="udfdeploy.properties" --profile=pega.udb "prreadstream.jar"
I am getting the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin.NoWhenBranchMatchedException