When using Intellij and trying to import TestNG the error is:
java: package org.testng does not exist
What I was doing was trying to import it via pom.xml as a dependency, which does not seem to work at all.
Not sure if other people have had the same issue, also seems there's way more ppl using eclipse vs intellij when it comes to selenium-java (when looking up questions at least).