DMN Feel-Scala needs SPIN?


#1

Hi @Philipp_Ossler,

I configured my project with this pom.xml (pom.xml (5.0 KB)) and created a plain JUnit test using this engine configuration (camunda.cfg.xml (800 Bytes)) including the FEEL Scala engine plugin.

when I run my test, I got this exception:

java.util.ServiceConfigurationError: org.camunda.feel.spi.CustomValueMapper: Provider org.camunda.feel.integration.CamundaValueMapper could not be instantiated
...
Caused by: java.lang.NoClassDefFoundError: org/camunda/spin/xml/SpinXmlNode

(Complete stacktrace: feel-scala-stacktrace.txt (9.4 KB))

Is this intended?

The error disappears, when I configure SPIN as well. But why do I have to?

Thank you, Ingo


#2

Hi @Ingo_Richtsmeier,

yes, the feel engine plugin (i.e. the factory) has a dependency to Camunda Spin. But the dependency has the scope provided (see the pom.xml) so it needs to be included explicitly.

Is this a problem?

Best regards,
Philipp