I have created a java project following these steps:
1.File->java project
2. Created the package.
3. Created the main class.
Wrote the simple program to print hello world
package misc;
public class MyMainClass {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
but I get the error when I run the program
Launch configuration GrammaticalStructure.1 references non-existing project begins.
Could you please let me know what can be the reason for it?
Please try to run it by right-clicking on your source file and select: “Run As -> Java Application”.