Useing Spin i had the same error of this topic: Javascript with Spin results in ClassNotFoundException org.camunda.spin.Spin.S.
I solved it exaclty as “Axel_W” suggested, and it worked just fine, until i tried to run my process with a “Timer Start Event” with a cycle every 20 seconds.
If i start the process from an API call, it works just fine, without errors, but if i wait for the automatic start caused by the job the classNotFoundException pop out again, exactly the same error that i had before.
Does someone know how is this possible?