Can't find scripting engine for 'javascript': scriptEngine is null- camunda with Spring boot microservices

I am getting this exception while trying to run a test. I am using camunda-engine 7.15.0 and JDK 11.