How do I install opencsv and use CSVReader in Java/Intellij?

Viewed 37

When I install com.opencsv:opencsv:5.7.0 in IntelliJ via Project Structure -> Global Libraries -> Add Maven Dependency, it installs the correct jars, but CSVReader along with the rest of opencsv is not recognized by the system. I tried downloading to the lib folder along with a few other things I found online like invalidating cache/rebuild, but nothing has worked. Any ideas on how to get opencsv working in IntelliJ?

enter image description here

enter image description here

enter image description here

1 Answers

Best solution I found is to uninstall IntelliJ and convert my project to something like Netbeans or BlueJ. I would use Eclipse, but the developers failed to include an uninstaller, so reinstalling would be a huge hassle.

Related