Question

Java Throw Error when I using javascript evaluator in SDC

  • 15 March 2024
  • 1 reply
  • 30 views

Hello!

I'm currently trying out the free (open source version) of SDC. When I created an empty pipeline and added a cron scheduler and JavaScript Evaluator and tried to run it, I encountered the following error:

Pipeline Status: STARTING_ERROR: java.lang.NoClassDefFoundError: Could not initialize class com.streamsets.pipeline.stage.processor.javascript.Java8JavaScriptObjectFactory

I was under the impression that using the JavaScript Evaluator did not require any additional package installations. Is there an additional step that needs to be taken?

I need some help. Thank you.


1 reply

Userlevel 5
Badge +1

@ino 

I tried with the below pipeline and it executed smoothly. We don’t need to install extra library for java script.

 

Kindly try to restart your data collector and rerun the pipeline and check if it help.

 

 

Reply