Hello @Terence Pinto
It seems like the class xx.xx.xx.xx.process_topic_payment.handler.PaymentEventHandler
is not being found by the Azure Function runtime.
This can happen if the class is not included in the deployment package or if there are dependency conflicts.
You mentioned that you have already resolved dependency conflicts, but have you made sure that the class is included in the deployment package?
You can check this by verifying that the class is present in the JAR file that you are deploying.
Also, have you set the FUNCTIONS_WORKER_JAVA_LOAD_APP_LIBS
app setting to 1
?
This setting is required to load the application dependencies. If the issue persists, you can try enabling the WEBSITE_DYNAMIC_CACHE
app setting to 0
to disable caching of the function app.
This can help in cases where the runtime is not able to load the updated version of the function app.
I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.