Create a scala function to define Gatling HTTP request chains.

Please have a look at this my question on SOF

I have imported import io.gatling.core.structure and changed function to HashMap[String, String] param but still it throws

\lib\AssetDetail.scala:44: not found: type ChainBuilder 13:37:11.476 [ERROR] i.g.a.ZincCompiler$ - def generateWebRequest(requestName:String, sort:String, qu eryParamMap:HashMap[String, String]):ChainBuilder = { 13:37:11.478 [ERROR] i.g.a.ZincCompiler$ - ^ 13:37:11.486 [ERROR] i.g.a.ZincCompiler$ - C:\Users\Vertis\Desktop\gatling\user-files\simulations\delph i_ui\lib\AssetDetail.scala:44: not found: type HashMap