I recently installed intellij IDEA 14.0 and to make sure everything was working I created a simple Hello World program. I do not understand why the output is not correct and why
The reason you're getting this error is because you didn't save the class into a file called Hello.java
(case-sensitive!)
This is just problem of intellij IDE.
Solution Steps:
<project_name>
and go to <project_name>_main
Finally build your project.
Enjoy.
It usually happens with IntelliJ.
I solved it deleting all modules and only leaving which have more hierarchy
The other modules(like main or test) are already part of product