DEV Community

Devansh Maurya
Devansh Maurya

Posted on

One of the very first answers by me on StackOverflow, now the top answer for that question!

The issue is because of the differences in the working directory, i.e., the directory where your source code resides and the current working directory of IntelliJ is different. Generally, the working directory is the main directory of your project So, either you place your file in that directory, or use …

Top comments (0)