Inline groovy

The process could not be started. :
Cannot instantiate process definition Process_1wc73ck:1:6492179d-b4b8-11eb-b7d4-0242603bad17: Unable to compile script: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script3.groovy: 2: unable to resolve class json
@ line 2, column 1.
import json
^

Script3.groovy: 1: unable to resolve class urllib2
@ line 1, column 1.
import urllib2

@Shravan could you provide your bpmn model and also the inline groovy script?