ENGINE-09008 Exception while instantiating class...ENGINE-09017 Cannot load class

Hi everyone,

I have a rest service with camunda embedded, with the processEngine and the delegates in the same jar. The module is part of a larger project that is compiled into aws through a continuous integration process with jenkins. When I compile the service locally (mvn install -P dev) everything works correctly, but when it is compiled using jenkins and put it in a docker I get the error in the first gateway that tries to instantiate a java delegate. In principle the compilation is done in the same way and the jar is instantiated with the same parameters.

If I download the docker jar with kubectl and run it locally and it doesn’t work either. There is something in the build that generates this problem. my maven version is 3.6.3, while the jenkins version is 3.6.2 and the java version is the same.

Any idea what the problem may be?

Hi. Were you able to resolve this issue?