'In an IntelliJ Kotlin project, when I try to run a java class, I get a "Could not find or load main class" error
I try to run the class from the green arrow in IntelliJ and I get the "Could not find or load main class" error. If I try to run the class from the terminal by running
javac <filename.java>
java <filename>
it works. I tried to do "rebuild project" and to make a new project and it did not change anything.
Here is a photo of my project:
Here is a photo of my Run-Edit configurations
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


