Spin dependency issue

Hey everyone,

I was testing camunda spin and keep getting an error message on process deployment (using a 7.5 tomcat distro on windows and the maven dependencies found here: https://docs.camunda.org/manual/latest/reference/spin/)

16-Aug-2016 22:01:30.064 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class net.test.bpmn.TestClass
 java.util.ServiceConfigurationError: org.camunda.spin.spi.DataFormatProvider: Provider org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatProvider not a subtype

The problem seems to be

<dependency>
<groupId>org.camunda.spin</groupId>
<artifactId>camunda-spin-dataformat-all</artifactId>
</dependency>

Without this particular dependency the process gets deployed as usual.

Any help would be highly appreciated.
Best regards,
Ben

Hi @ben347,

In the Tomcat distro you can download from camunda.org, Spin is already contained in Tomcat’s lib folder. Therefore your application should not contain it and the dependency should be set to scope provided.

Cheers,
Thorben

2 Likes

It works. Thank you Thorben.

Hi @thorben

I tried adding the scope but its giving the following error even after removing camunda-spin-bom from dependency management.
java.util.ServiceConfigurationError: org.camunda.spin.spi.DataFormatProvider: Provider org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatProvider not a subtype

Any solution to proceed .

Thanks.

Regards,
Vinu