No script rutime was found in the classpath

Hi everyone i kind of self teaching myself Kotlin. I encountered some errors.
Please any kind of assistance will be appreciated

  1. “No script runtime was found in the classpath: class ‘kotlin.script.templates.standard.ScriptTemplateWithArgs’ not found. Please add kotlin-script-runtime.jar to the module dependencies.”

  2. “Unresolved reference: println”.