Ah. I think that might have been the problem. I overcame it with some edits.
Further, on running “mvn package”, jar file is not being generated. Gets stuck in this stage:
WebhookClient$updateStatus$1.invokeSuspend#109: Updating 1 subscribers of status
Terminal doesnt exit. No jar file is produced. Although class files are produced in target folder