The spark context has stopped and the driver is restarting. Your notebook will be automatically

Sachin_
New Contributor II

I am trying to execute a scala jar in notebook. When I execute it explicitly I am able to run the jar like this :

Sachin__1-1709881658170.pngSachin__2-1709881677411.png

but when I am trying to run a notebook through databricks workflow I get the below errorThe spark context has stopped and the driver is restarting. Your notebook will be automatically reattached.

Steps I have taken till now : 

tried increasing spark driver memory like this : 

Sachin__3-1709881874830.png