Q:

Issue while importing CSVParser in IntelliJ

I was trying to read a csv file in kotlin using intellij as IDE. I have added dependencies(commons-csv-1.6-bin.zip,link-https://commons.apache.org/proper/commons-csv/download_csv.cgi) and imported the CSVParser. on reading the file am geting an error like this

NoClassDefFoundError: org/apache/commons/csv/CSVParser

A:

You should add the unpacked jar file from commons-csv-1.6-bin.zip\commons-csv-1.6\commons-csv-1.6.jar into the Module Dependencies.
If using Gradle, add the library via build.gradle configuration.

