Could not find an implementation of the interface org.camunda.bpm.engine.rest.spi.ProcessEngineProvider- SPI Exception

Hi,

I have updated our camunda rest application to use 7.17.0 version of camunda and the application starts showing following error . I cant even hit /engine/default/version endpoint

Could not find an implementation of the interface org.camunda.bpm.engine.rest.spi.ProcessEngineProvider- SPI

<camunda.version>7.17.0</camunda.version>
<camundaSpin.version>1.17.0</camundaSpin.version>

Thanks,
Eapen John

Hello @eapen_eapen ,

this happens if the ServiceLoader is not able to locate the ProcessEngineProvider.

When embedding the Rest API in your application, it needs to access the ProcessEngine Java API.

The connection between them is established by the ProcessEngineProvider.

Just implement the Interface and create a Service for the Java ServiceLoader.

I hope this helps

Jonathan

1 Like

Thanks .
Eapen John

1 Like

Hello, we implemented the interface . Still facing the same error. It happens only in 1 environment. In another environment it is working fine. Any thoughts?
Used this verion
<camunda.version>7.17.0</camunda.version>
<camunda.spring.boot.version>7.17.0</camunda.spring.boot.version>

Hello @Sadhana ,

is there a difference in how the environment is built?

Jonathan

There’s no difference

Hello @Sadhana ,

do you use the spring-boot-starter-rest?

Jonathan

No … We use camunda-bpm-spring-boot-starter-webapp and org.camunda.bpm. Will this problem happen if there are jar conflicts?

Hello @Sadhana ,

if you don‘t use the rest starter yet, feel free to add it. When properly managing the versions, there will be no conflict.

Also, you will have maintained code.

Jonathan