I am trying to use the REST connector in Camunda Zeebe. I took an example of a REST template from Camunda’s website and tried to run it on my local machine, but it didn’t give me a response. I also tried to store the REST API data in a response and body, but it didn’t work. For demo purposes, I am using a simple monitor and I tried to use an HTTP worker, which works, but the REST template doesn’t work. Please help me to solve this.
Hi @sinugaud,
The REST connector is a specific component that needs to be deployed in addition to Camunda 8/Zeebe. Loading the element template is not enough. You can find more information about Camunda’s connectors in our documentation and on Github:
Error: Could not find or load main class io.camunda.connector.runtime.ConnectorRuntimeApplication Caused by: java.lang.ClassNotFoundException: io.camunda.connector.runtime.ConnectorRuntimeApplication
Hey,
I just try that command that also worked but they give me some error how i can fix this have you any idea
org.springframework.context.ApplicationContextException: Failed to start bean ‘zeebeClientLifecycle’; nested exception is java.util.ServiceConfigurationError: io.camunda.connector.api.outbound.OutboundConnectorFunction: io.camunda.connector.http.HttpJsonFunction Unable to get public no-arg constructor
2023-03-04 14:49:56.781 WARN 7820 — [ault-executor-1] io.camunda.zeebe.client.job.poller : Failed to activate jobs for worker HTTPJSON and job type io.camunda:http-json:1
I successfully ran the connectors on my machine. However, there were some SSL certificate issues in the jar file, so I built another jar file for the runtime connector, and it worked for me.